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

Function markdownImage

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

Source from the content-addressed store, hash-verified

3462}
3463
3464function markdownImage(attributes) {
3465 var src = attributes.src || "";
3466 var altText = attributes.alt || "";
3467 if (src || altText) {
3468 return {start: "![" + altText + "](" + src + ")"};
3469 } else {
3470 return {};
3471 }
3472}
3473
3474function markdownList(options) {
3475 return function(attributes, list) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected