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

Function convertElements

static/word2md/mammoth.browser.js:195–199  ·  view source on GitHub ↗
(elements, messages, options)

Source from the content-addressed store, hash-verified

193 }
194
195 function convertElements(elements, messages, options) {
196 return flatMap(elements, function(element) {
197 return elementToHtml(element, messages, options);
198 });
199 }
200
201 function elementToHtml(element, messages, options) {
202 if (!options) {

Callers 7

convertParagraphFunction · 0.70
nodesFunction · 0.70
convertTableChildrenFunction · 0.70
convertTableRowFunction · 0.70
convertTableCellFunction · 0.70
convertCommentFunction · 0.70
DocumentConversionFunction · 0.70

Calls 2

flatMapFunction · 0.70
elementToHtmlFunction · 0.70

Tested by

no test coverage detected