1. remark-preset-github
GitHub markdown and prose style
remark-preset-github
Package: remark-preset-github
Created by: niftylettuce
Last modified: Mon, 06 Jun 2022 05:22:51 GMT
Version: 4.0.4
License: MIT
Downloads: 2,066
Repository: https://github.com/niftylettuce/remark-preset-github

Install

npm install remark-preset-github
yarn add remark-preset-github

remark-preset-github

GitHub markdown and prose style.

Learn more about presets in unified's docs.

NOTE: Feel free to open an issue if something isn't working right.

Installation

npm:

 npm install remark-cli remark-preset-github --save

Now add the following to your package.json:

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

From now on, npm test also checks markdown.

 npm test

Checks

Markdown
  • Adds a license section
  • Adds a contributors section
  • Extends remark-preset-lint-recommended,
    and adds a strict code-style (see index.js)
  • 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

See retext-preset-github for more info.

Contributors

Name website
Nick Baugh https://niftylettuce.com

License

MIT © Titus Wormer

Dependencies

remark-comment-config: ^6.0.0remark-contributors: 4remark-gfm: ^1.0.0remark-heading-gap: ^4.0.0remark-license: 5remark-lint-blockquote-indentation: ^2.0.1remark-lint-checkbox-character-style: ^3.0.0remark-lint-checkbox-content-indent: ^3.0.0remark-lint-code-block-style: ^2.0.1remark-lint-definition-case: ^2.0.1remark-lint-definition-spacing: ^2.0.1remark-lint-emphasis-marker: ^2.0.1remark-lint-fenced-code-flag: ^2.0.1remark-lint-fenced-code-marker: ^2.0.1remark-lint-file-extension: ^1.0.5remark-lint-final-definition: ^2.1.0remark-lint-first-heading-level: ^2.0.1remark-lint-heading-style: ^2.0.1remark-lint-list-item-indent: 2.0.1remark-lint-no-consecutive-blank-lines: ^3.0.0remark-lint-no-duplicate-definitions: ^2.0.1remark-lint-no-emphasis-as-heading: ^2.0.1remark-lint-no-file-name-articles: ^1.0.5remark-lint-no-file-name-consecutive-dashes: ^1.0.5remark-lint-no-file-name-irregular-characters: ^1.0.5remark-lint-no-file-name-mixed-case: ^1.0.5remark-lint-no-file-name-outer-dashes: ^1.0.6remark-lint-no-heading-content-indent: ^3.0.0remark-lint-no-heading-indent: ^3.0.0remark-lint-no-heading-punctuation: ^2.0.1remark-lint-no-missing-blank-lines: ^2.0.1remark-lint-no-multiple-toplevel-headings: ^2.0.1remark-lint-no-shell-dollars: ^2.0.2remark-lint-no-table-indentation: ^3.0.0remark-lint-no-tabs: ^2.0.1remark-lint-ordered-list-marker-value: ^2.0.1remark-lint-rule-style: ^2.0.1remark-lint-strong-marker: ^2.0.1remark-lint-table-cell-padding: ^3.0.0remark-lint-table-pipe-alignment: ^2.0.1remark-lint-table-pipes: ^3.0.0remark-lint-unordered-list-marker-style: ^2.0.1remark-preset-lint-recommended: ^5.0.0remark-retext: ^4.0.0remark-toc: ^7.0.0retext-english: ^3.0.4retext-preset-github: ^0.0.6unified: ^9.2.0

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code