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

Function markdownList

static/word2md/mammoth.browser.js:3474–3486  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

3472}
3473
3474function markdownList(options) {
3475 return function(attributes, list) {
3476 return {
3477 start: list ? "\n" : "",
3478 end: list ? "" : "\n",
3479 list: {
3480 isOrdered: options.isOrdered,
3481 indent: list ? list.indent + 1 : 0,
3482 count: 0
3483 }
3484 };
3485 };
3486}
3487
3488function markdownListItem(attributes, list, listItem) {
3489 list = list || {indent: 0, isOrdered: false, count: 0};

Callers 1

mammoth.browser.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected