You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rich Trott c49adbff63 tools: update to ESLint 4.3.0 8 years ago
..
LICENSE tools: update: eslint-plugin-markdown@1.0.0-beta.7 8 years ago
index.js tools: update to ESLint 4.3.0 8 years ago
package.json tools: update to ESLint 4.3.0 8 years ago
readme.md tools: update to ESLint 4.3.0 8 years ago

readme.md

markdown-escapes Build Status Coverage Status

List of escapable characters in markdown.

Installation

npm:

npm install markdown-escapes

Usage

var escapes = require('markdown-escapes');

// Access by property:
escapes.commonmark; //=> ['\\', '`', ..., '@', '^']

// Access by options object:
escapes({gfm: true}); //=> ['\\', '`', ..., '~', '|']

API

escapes([options])

Get escapes. Supports options.commonmark and options.gfm, which when true returns the extra escape characters supported by those flavours.

Returns

Array.<string>.

escapes.default

List of default escapable characters.

escapes.gfm

List of escapable characters in GFM (which includes all defaults).

escapes.commonmark

List of escapable characters in CommonMark (which includes all gfms).

License

MIT © Titus Wormer