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

Function markdownLink

static/word2md/mammoth.browser.js:3451–3462  ·  view source on GitHub ↗
(attributes)

Source from the content-addressed store, hash-verified

3449}
3450
3451function markdownLink(attributes) {
3452 var href = attributes.href || "";
3453 if (href) {
3454 return {
3455 start: "[",
3456 end: "](" + href + ")",
3457 anchorPosition: "before"
3458 };
3459 } else {
3460 return {};
3461 }
3462}
3463
3464function markdownImage(attributes) {
3465 var src = attributes.src || "";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected