mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
DISABLE_THIRD_PARTY_CHECK=updating node_modules deps Change-Id: I37d4670cf18e26e8caa8a5b1ca19c8f187244bac Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2259851 Commit-Queue: Mathias Bynens <mathias@chromium.org> Auto-Submit: Mathias Bynens <mathias@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
markdown-escapes
List of escapable characters in markdown.
Install
npm:
npm install markdown-escapes
Use
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 flavors.
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).