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 flavours.
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).