0.2.1 • Published 7 years ago

remark-preset-survivejs v0.2.1

Weekly downloads
13
License
MIT
Repository
github
Last release
7 years ago

remark-preset-survivejs Build Status

:tada: Book markdown and prose style.

Installation

npm:

npm install remark-cli remark-preset-survivejs --save

Now add the following to your package.json:

  "scripts": {
    "build-md": "remark ."
    "test": "npm run build-md && ..."
  },
  "remarkConfig": {
    "plugins": ["preset-survivejs"]
  },

From now on, npm test also checks markdown.

npm test

Checks

Markdown
  • Extends remark-preset-lint-recommended, and adds a strict code-style (see index.js);
  • Checks broken local links;
  • Markdown is compiled with asterisk list-item bullets (*), and fenced code blocks (note: set output: true in your config to benefit from this);
  • How remark compiles can be configured inline with comments;
  • Table of Contents headers are kept up to date, with a depth of 3 (if output: true);
  • GH references, like mentions or issue references, are linked (if output: true).
Natural Language

License

MIT © Titus Wormer

installnpmremark-comment-configremark-githubremark-lintremark-lint-checkbox-character-styleremark-lint-checkbox-content-indentremark-lint-code-block-styleremark-lint-definition-caseremark-lint-definition-spacingremark-lint-fenced-code-markerremark-lint-file-extensionremark-lint-final-definitionremark-lint-final-newlineremark-lint-hard-break-spacesremark-lint-heading-styleremark-lint-link-title-styleremark-lint-no-auto-link-without-protocolremark-lint-no-blockquote-without-caretremark-lint-no-consecutive-blank-linesremark-lint-no-duplicate-definitionsremark-lint-no-emphasis-as-headingremark-lint-no-file-name-articlesremark-lint-no-file-name-consecutive-dashesremark-lint-no-file-name-outer-dashesremark-lint-no-heading-content-indentremark-lint-no-heading-indentremark-lint-no-heading-punctuationremark-lint-no-inline-paddingremark-lint-no-literal-urlsremark-lint-no-missing-blank-linesremark-lint-no-multiple-toplevel-headingsremark-lint-no-shell-dollarsremark-lint-no-shortcut-reference-imageremark-lint-no-shortcut-reference-linkremark-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-table-cell-paddingremark-lint-table-pipe-alignmentremark-lint-table-pipesremark-lint-unordered-list-marker-styleremark-retextremark-tocremark-validate-linksretext-englishretext-indefinite-articleretext-quotesretext-repeated-wordsretext-sentence-spacingunified
0.2.1

7 years ago

0.2.0

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago