0.2.2 • Published 7 months ago

@blackglory/markdown-lint v0.2.2

Weekly downloads
5
License
MIT
Repository
github
Last release
7 months ago

markdown-lint

自以为是的 Markdown lint, 基于 remark-lint, 为写出更具有可维护性的 Markdown 文档而设计. 仍在完善中.

使用的规则数量很多, 因此在初次使用时很可能遇到大量的格式错误, 用户需要在不断修改文章的过程中掌握这套规范.

安装

从 npm 安装

npm install -g @blackglory/markdown-lint
# 或
yarn global add @blackglory/markdown-lint

从源代码安装

git clone git@github.com:BlackGlory/markdown-lint.git
cd markdown-lint
yarn install
yarn build
yarn global add "file:$(pwd)"

使用

markdown-lint README.md
iterable-operatorremarkremark-lint-blockquote-indentationremark-lint-checkbox-character-styleremark-lint-checkbox-content-indentremark-lint-code-block-styleremark-lint-definition-spacingremark-lint-emphasis-markerremark-lint-fenced-code-flagremark-lint-fenced-code-markerremark-lint-file-extensionremark-lint-final-definitionremark-lint-final-newlineremark-lint-first-heading-levelremark-lint-hard-break-spacesremark-lint-heading-incrementremark-lint-heading-styleremark-lint-linebreak-styleremark-lint-link-title-styleremark-lint-list-item-bullet-indentremark-lint-list-item-content-indentremark-lint-list-item-indentremark-lint-list-item-spacingremark-lint-match-punctuationremark-lint-no-auto-link-without-protocolremark-lint-no-blockquote-without-markerremark-lint-no-chinese-punctuation-in-numberremark-lint-no-consecutive-blank-linesremark-lint-no-duplicate-defined-urlsremark-lint-no-duplicate-definitionsremark-lint-no-duplicate-headings-in-sectionremark-lint-no-emphasis-as-headingremark-lint-no-empty-sectionsremark-lint-no-empty-urlremark-lint-no-heading-content-indentremark-lint-no-heading-indentremark-lint-no-heading-like-paragraphremark-lint-no-heading-punctuationremark-lint-no-htmlremark-lint-no-inline-paddingremark-lint-no-literal-urlsremark-lint-no-missing-blank-linesremark-lint-no-multiple-toplevel-headingsremark-lint-no-paragraph-content-indentremark-lint-no-repeat-punctuationremark-lint-no-table-indentationremark-lint-no-tabsremark-lint-no-undefined-referencesremark-lint-no-unused-definitionsremark-lint-ordered-list-marker-styleremark-lint-ordered-list-marker-valueremark-lint-rule-styleremark-lint-spaces-around-numberremark-lint-spaces-around-wordremark-lint-strong-markerremark-lint-table-cell-paddingremark-lint-table-pipe-alignmentremark-lint-table-pipesremark-lint-unordered-list-marker-stylevfilevfile-reporter
0.2.2

7 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago