|
|
6 ngày trước cách đây | |
|---|---|---|
| .. | ||
| index.js | 6 ngày trước cách đây | |
| license | 6 ngày trước cách đây | |
| package.json | 6 ngày trước cách đây | |
| readme.md | 6 ngày trước cách đây | |
List of escapable characters in markdown.
npm:
npm install markdown-escapes
var escapes = require('markdown-escapes');
// Access by property:
escapes.commonmark; //=> ['\\', '`', ..., '@', '^']
// Access by options object:
escapes({gfm: true}); //=> ['\\', '`', ..., '~', '|']
escapes([options])Get escapes.
Supports options.commonmark and options.gfm, which when true returns the
extra escape characters supported by those flavors.
Array.<string>.
escapes.defaultList of default escapable characters.
escapes.gfmList of escapable characters in GFM (which includes all defaults).
escapes.commonmarkList of escapable characters in CommonMark (which includes all gfms).