Socket
Socket
Sign inDemoInstall

remark-preset-davidtheclark

Package Overview
Dependencies
266
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    remark-preset-davidtheclark

My remark preset, for keeping Markdown documentation tidy


Version published
Weekly downloads
280
decreased by-40.3%
Maintainers
1
Install size
5.89 MB
Created
Weekly downloads
 

Readme

Source

remark-preset-davidtheclark

My remark preset, for keeping Markdown documentation tidy.

Validation:

  • Links within the repository (to headings, other files, headings in other files) are validated.
  • A table of contents will be generated if you include a Table of contents header in a document.

Syntax — most of which is automatically fixed:

  • Unordered list items marked with -.
  • List items indented only one space beyond the marker.
  • Emphasis and strong are both indicated with *.
  • Code blocks are fenced with triple backticks.
  • atx-style headings, the ones that (just) start with # signs, e.g. ## Second-level heading.
  • Other stuff that should be intuitive or prevent mistakes.

Usage

Usage with remark-cli.

Here's the way I like to use it, which does the following:

  • Checks Markdown files in the project root and docs/ directory.
  • Automatically formats files, overwriting them (--output).
  • Breaks tests if linting errors are found (--frail).
  • Only outputs warnings and errors (--quiet and --no-stdout).
remark '*.md' 'docs/**/*.md' --use remark-preset-davidtheclark --frail --quiet --no-stdout --output

Keywords

FAQs

Last updated on 17 Sep 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc