MCPcopy Create free account
hub / github.com/TruthHun/BookStack / escapeMarkdown

Function escapeMarkdown

static/word2md/mammoth.browser.js:3596–3600  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

3594exports.writer = markdownWriter;
3595
3596function escapeMarkdown(value) {
3597 return value
3598 .replace(/\\/g, '\\\\')
3599 .replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g, '\\$1');
3600}
3601
3602},{"underscore":153}],34:[function(require,module,exports){
3603var nodes = require("./nodes");

Callers 1

textFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected