Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remark-preset-davidtheclark

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-preset-davidtheclark

My remark preset, for keeping Markdown documentation tidy

  • 0.12.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
295
increased by21.4%
Maintainers
1
Weekly downloads
 
Created
Source

remark-preset-davidtheclark

My remark preset, for keeping Markdown documentation tidy.

Uses remark-lint plugins and a few other remark plugins.

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

You can use this package as a remark plugin, in Node code or with remark-cli.

It also provides a CLI that runs remark-cli for you, which is how I normally use it.

Lint or format Markdown files.

Usage
  remark-preset-davidtheclark [options] [path|glob...]

  By default, runs on all Markdown files in cwd.

Options
  -f, --format    Format files instead of linting them.

Examples
  remark-preset-davidtheclark
  remark-preset-davidtheclark docs/*.md
  remark-preset-davidtheclark --format "docs/**/*.md"

Keywords

FAQs

Package last updated on 19 Jan 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc