diff --git a/contributing.md b/contributing.md index 3284d3cc0..1cc582f5e 100644 --- a/contributing.md +++ b/contributing.md @@ -15,6 +15,7 @@ next to their day job: you are not entitled to free customer service. * [Ecosystem](#ecosystem) * [Questions](#questions) * [Contributions](#contributions) + * [Improve documentation](#improve-documentation) * [Improve issues](#improve-issues) * [Give feedback on issues](#give-feedback-on-issues) diff --git a/packages/remark-parse/lib/tokenize/list.js b/packages/remark-parse/lib/tokenize/list.js index e4a1e2d30..c80421871 100644 --- a/packages/remark-parse/lib/tokenize/list.js +++ b/packages/remark-parse/lib/tokenize/list.js @@ -80,7 +80,7 @@ function list(eat, value, silent) { var item; var enterTop; var exitBlockquote; - var isLoose; + var spread = false; var node; var now; var end; @@ -143,7 +143,7 @@ function list(eat, value, silent) { if ( character !== C_SPACE && character !== C_TAB && - (!commonmark || (character !== C_NEWLINE && character !== C_EMPTY)) + (pedantic || (character !== C_NEWLINE && character !== C_EMPTY)) ) { return; } @@ -282,7 +282,7 @@ function list(eat, value, silent) { } prevEmpty = empty; - empty = !trim(content).length; + empty = !prefixed && !trim(content).length; if (indented && item) { item.value = item.value.concat(emptyLines, line); @@ -290,6 +290,7 @@ function list(eat, value, silent) { emptyLines = []; } else if (prefixed) { if (emptyLines.length !== 0) { + spread = true; item.value.push(''); item.trail = emptyLines.concat(); } @@ -304,7 +305,7 @@ function list(eat, value, silent) { allLines = allLines.concat(emptyLines, line); emptyLines = []; } else if (empty) { - if (prevEmpty) { + if (prevEmpty && !commonmark) { break; } @@ -330,13 +331,12 @@ function list(eat, value, silent) { type: 'list', ordered: ordered, start: start, - loose: null, + spread: spread, children: [] }); enterTop = self.enterList(); exitBlockquote = self.enterBlock(); - isLoose = false; index = -1; length = items.length; @@ -344,11 +344,7 @@ function list(eat, value, silent) { item = items[index].value.join(C_NEWLINE); now = eat.now(); - item = eat(item)(listItem(self, item, now), node); - - if (item.loose) { - isLoose = true; - } + eat(item)(listItem(self, item, now), node); item = items[index].trail.join(C_NEWLINE); @@ -362,8 +358,6 @@ function list(eat, value, silent) { enterTop(); exitBlockquote(); - node.loose = isLoose; - return node; } @@ -389,8 +383,7 @@ function listItem(ctx, value, position) { return { type: 'listItem', - loose: EXPRESSION_LOOSE_LIST_ITEM.test(value) || - value.charAt(value.length - 1) === C_NEWLINE, + spread: EXPRESSION_LOOSE_LIST_ITEM.test(value), checked: checked, children: ctx.tokenizeBlock(value, position) }; diff --git a/packages/remark-parse/readme.md b/packages/remark-parse/readme.md index 9de8104c5..44a95a5a9 100644 --- a/packages/remark-parse/readme.md +++ b/packages/remark-parse/readme.md @@ -33,9 +33,11 @@ process.stdin ## Table of Contents * [API](#api) + * [processor.use(parse\[, options\])](#processoruseparse-options) * [parse.Parser](#parseparser) * [Extending the Parser](#extending-the-parser) + * [Parser#blockTokenizers](#parserblocktokenizers) * [Parser#blockMethods](#parserblockmethods) * [Parser#inlineTokenizers](#parserinlinetokenizers) diff --git a/packages/remark-stringify/lib/macro/block.js b/packages/remark-stringify/lib/macro/block.js index 7ee8f3d73..e365cafe1 100644 --- a/packages/remark-stringify/lib/macro/block.js +++ b/packages/remark-stringify/lib/macro/block.js @@ -2,6 +2,11 @@ module.exports = block; +var newline = '\n'; +var double = newline + newline; +var triple = double + newline; +var comment = double + '' + double; + /* Stringify a block node with block children (e.g., `root` * or `blockquote`). * Knows about code following a list, or adjacent lists @@ -9,36 +14,43 @@ module.exports = block; * between them. */ function block(node) { var self = this; + var options = self.options; + var fences = options.fences; + var gap = options.commonmark ? comment : triple; var values = []; var children = node.children; var length = children.length; var index = -1; - var child; var prev; + var child; while (++index < length) { + prev = child; child = children[index]; if (prev) { - /* Duplicate nodes, such as a list - * directly following another list, - * often need multiple new lines. - * - * Additionally, code blocks following a list - * might easily be mistaken for a paragraph - * in the list itself. */ - if (child.type === prev.type && prev.type === 'list') { - values.push(prev.ordered === child.ordered ? '\n\n\n' : '\n\n'); - } else if (prev.type === 'list' && child.type === 'code' && !child.lang) { - values.push('\n\n\n'); + // A list preceding another list that are equally ordered, or a + // list preceding an indented code block, need a gap between them, + // so as not to see them as one list, or content of the list, + // respectively. + // + // In commonmark, only something that breaks both up can do that, + // so we opt for an empty, invisible comment. In other flavours, + // two blank lines are fine. + if ( + prev.type === 'list' && + ( + (child.type === 'list' && prev.ordered === child.ordered) || + (child.type === 'code' && (!child.lang && !fences)) + ) + ) { + values.push(gap); } else { - values.push('\n\n'); + values.push(double); } } values.push(self.visit(child, node)); - - prev = child; } return values.join(''); diff --git a/packages/remark-stringify/lib/macro/ordered-items.js b/packages/remark-stringify/lib/macro/ordered-items.js index 45f77760e..5b5369967 100644 --- a/packages/remark-stringify/lib/macro/ordered-items.js +++ b/packages/remark-stringify/lib/macro/ordered-items.js @@ -28,10 +28,12 @@ function orderedItems(node) { var index = -1; var bullet; + start = start == null ? 1 : start; + while (++index < length) { bullet = (increment ? start + index : start) + '.'; values[index] = fn.call(self, children[index], node, index, bullet); } - return values.join('\n'); + return values.join(node.spread ? '\n\n' : '\n'); } diff --git a/packages/remark-stringify/lib/macro/unordered-items.js b/packages/remark-stringify/lib/macro/unordered-items.js index 020ca470f..87548c049 100644 --- a/packages/remark-stringify/lib/macro/unordered-items.js +++ b/packages/remark-stringify/lib/macro/unordered-items.js @@ -18,5 +18,5 @@ function unorderedItems(node) { values[index] = fn.call(self, children[index], node, index, bullet); } - return values.join('\n'); + return values.join(node.spread ? '\n\n' : '\n'); } diff --git a/packages/remark-stringify/lib/visitors/list-item.js b/packages/remark-stringify/lib/visitors/list-item.js index 80787206b..80d6eaa03 100644 --- a/packages/remark-stringify/lib/visitors/list-item.js +++ b/packages/remark-stringify/lib/visitors/list-item.js @@ -5,14 +5,6 @@ var pad = require('../util/pad'); module.exports = listItem; -/* Which checkbox to use. */ -var CHECKBOX_MAP = { - undefined: '', - null: '', - true: '[x] ', - false: '[ ] ' -}; - /* Stringify a list item. * * Prefixes the content with a checked checkbox when @@ -28,7 +20,9 @@ var CHECKBOX_MAP = { function listItem(node, parent, position, bullet) { var self = this; var style = self.options.listItemIndent; - var loose = node.loose; + var marker = bullet || self.options.bullet; + var spread = node.spread == null ? true : node.spread; + var checked = node.checked; var children = node.children; var length = children.length; var values = []; @@ -41,21 +35,22 @@ function listItem(node, parent, position, bullet) { values[index] = self.visit(children[index], node); } - value = CHECKBOX_MAP[node.checked] + values.join(loose ? '\n\n' : '\n'); + value = values.join(spread ? '\n\n' : '\n'); + + if (typeof checked === 'boolean') { + // Note: I’d like to be able to only add the space between the check and + // the value, but unfortunately github does not support empty list-items + // with a checkbox :( + value = '[' + (checked ? 'x' : ' ') + '] ' + value; + } if (style === '1' || (style === 'mixed' && value.indexOf('\n') === -1)) { - indent = bullet.length + 1; + indent = marker.length + 1; spacing = ' '; } else { - indent = Math.ceil((bullet.length + 1) / 4) * 4; - spacing = repeat(' ', indent - bullet.length); - } - - value = bullet + spacing + pad(value, indent / 4).slice(indent); - - if (loose && parent.children.length - 1 !== position) { - value += '\n'; + indent = Math.ceil((marker.length + 1) / 4) * 4; + spacing = repeat(' ', indent - marker.length); } - return value; + return value ? marker + spacing + pad(value, indent / 4).slice(indent) : marker; } diff --git a/packages/remark-stringify/lib/visitors/list.js b/packages/remark-stringify/lib/visitors/list.js index fde0bb90d..f434db86b 100644 --- a/packages/remark-stringify/lib/visitors/list.js +++ b/packages/remark-stringify/lib/visitors/list.js @@ -9,5 +9,6 @@ var ORDERED_MAP = { }; function list(node) { - return this[ORDERED_MAP[node.ordered]](node); + var ordered = node.ordered; + return this[ORDERED_MAP[ordered == null ? false : ordered]](node); } diff --git a/packages/remark-stringify/readme.md b/packages/remark-stringify/readme.md index 111c5539d..93340185a 100644 --- a/packages/remark-stringify/readme.md +++ b/packages/remark-stringify/readme.md @@ -40,9 +40,11 @@ process.stdin ## Table of Contents * [API](#api) + * [processor.use(stringify\[, options\])](#processorusestringify-options) * [stringify.Compiler](#stringifycompiler) * [Extending the Compiler](#extending-the-compiler) + * [Compiler#visitors](#compilervisitors) * [function visitor(node\[, parent\])](#function-visitornode-parent) * [License](#license) diff --git a/test/fixtures/input/list-item-empty-without-white-space-eof.text b/test/fixtures/input/list-item-empty-without-white-space-eof.text new file mode 100644 index 000000000..3cf20d57b --- /dev/null +++ b/test/fixtures/input/list-item-empty-without-white-space-eof.text @@ -0,0 +1 @@ +- \ No newline at end of file diff --git a/test/fixtures/input/list-item-empty-without-white-space.text b/test/fixtures/input/list-item-empty-without-white-space.text new file mode 100644 index 000000000..39cdd0ded --- /dev/null +++ b/test/fixtures/input/list-item-empty-without-white-space.text @@ -0,0 +1 @@ +- diff --git a/test/fixtures/input/ordered-different-types.text b/test/fixtures/input/ordered-different-types.nooutput.text similarity index 100% rename from test/fixtures/input/ordered-different-types.text rename to test/fixtures/input/ordered-different-types.nooutput.text diff --git a/test/fixtures/input/same-bullet.text b/test/fixtures/input/same-bullet.nooutput.text similarity index 100% rename from test/fixtures/input/same-bullet.text rename to test/fixtures/input/same-bullet.nooutput.text diff --git a/test/fixtures/tree/auto-link.json b/test/fixtures/tree/auto-link.json index 62dc46e25..6cc179ddc 100644 --- a/test/fixtures/tree/auto-link.json +++ b/test/fixtures/tree/auto-link.json @@ -344,11 +344,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -403,7 +403,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -478,7 +478,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/block-elements.json b/test/fixtures/tree/block-elements.json index bcecbc121..e038df53b 100644 --- a/test/fixtures/tree/block-elements.json +++ b/test/fixtures/tree/block-elements.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -89,11 +89,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -168,11 +168,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -244,11 +244,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -339,11 +339,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -385,11 +385,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -551,11 +551,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/blockquote-lazy-list.commonmark.json b/test/fixtures/tree/blockquote-lazy-list.commonmark.json index fb5bc35ef..d7b178526 100644 --- a/test/fixtures/tree/blockquote-lazy-list.commonmark.json +++ b/test/fixtures/tree/blockquote-lazy-list.commonmark.json @@ -58,11 +58,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/blockquote-lazy-list.json b/test/fixtures/tree/blockquote-lazy-list.json index 316c87feb..2b87bd7ad 100644 --- a/test/fixtures/tree/blockquote-lazy-list.json +++ b/test/fixtures/tree/blockquote-lazy-list.json @@ -43,11 +43,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/blockquote-lazy-list.nogfm.commonmark.json b/test/fixtures/tree/blockquote-lazy-list.nogfm.commonmark.json index fb5bc35ef..d7b178526 100644 --- a/test/fixtures/tree/blockquote-lazy-list.nogfm.commonmark.json +++ b/test/fixtures/tree/blockquote-lazy-list.nogfm.commonmark.json @@ -58,11 +58,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/blockquote-list-item.json b/test/fixtures/tree/blockquote-list-item.json index 79c9ba4e4..edf349480 100644 --- a/test/fixtures/tree/blockquote-list-item.json +++ b/test/fixtures/tree/blockquote-list-item.json @@ -40,11 +40,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/def-blocks.commonmark.json b/test/fixtures/tree/def-blocks.commonmark.json index 07649e888..df3d65972 100644 --- a/test/fixtures/tree/def-blocks.commonmark.json +++ b/test/fixtures/tree/def-blocks.commonmark.json @@ -247,11 +247,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -306,7 +306,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -389,39 +389,18 @@ "offset": 58 }, "end": { - "line": 11, - "column": 13, - "offset": 70 + "line": 12, + "column": 1, + "offset": 71 }, - "indent": [] + "indent": [ + 1 + ] } - } - ], - "position": { - "start": { - "line": 10, - "column": 1, - "offset": 50 - }, - "end": { - "line": 11, - "column": 13, - "offset": 70 }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": false, - "start": null, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -537,9 +516,9 @@ ], "position": { "start": { - "line": 14, + "line": 10, "column": 1, - "offset": 73 + "offset": 50 }, "end": { "line": 15, @@ -547,6 +526,10 @@ "offset": 91 }, "indent": [ + 1, + 1, + 1, + 1, 1 ] } diff --git a/test/fixtures/tree/def-blocks.json b/test/fixtures/tree/def-blocks.json index aa75ea77a..25d646ea6 100644 --- a/test/fixtures/tree/def-blocks.json +++ b/test/fixtures/tree/def-blocks.json @@ -220,11 +220,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -279,7 +279,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -390,11 +390,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/footnote-matrix.footnotes.json b/test/fixtures/tree/footnote-matrix.footnotes.json index 415bd7529..de7aa4138 100644 --- a/test/fixtures/tree/footnote-matrix.footnotes.json +++ b/test/fixtures/tree/footnote-matrix.footnotes.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -84,7 +84,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -176,7 +176,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -251,7 +251,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/footnote-matrix.json b/test/fixtures/tree/footnote-matrix.json index 149a3b0ed..90dd4103b 100644 --- a/test/fixtures/tree/footnote-matrix.json +++ b/test/fixtures/tree/footnote-matrix.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -84,7 +84,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -159,7 +159,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -234,7 +234,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/footnote.output.footnotes.json b/test/fixtures/tree/footnote.output.footnotes.json index c3c5b8d14..7b15b3b26 100644 --- a/test/fixtures/tree/footnote.output.footnotes.json +++ b/test/fixtures/tree/footnote.output.footnotes.json @@ -268,11 +268,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.commonmark.json b/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.commonmark.json index e7742abcf..cfcdddee6 100644 --- a/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.commonmark.json +++ b/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.commonmark.json @@ -40,11 +40,11 @@ "type": "list", "ordered": true, "start": 8, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -105,7 +105,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -222,11 +222,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -410,11 +410,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -456,11 +456,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -601,11 +601,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -647,11 +647,11 @@ "type": "list", "ordered": true, "start": 8, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.json b/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.json index f14087dac..fba5f3b44 100644 --- a/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.json +++ b/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.json @@ -85,11 +85,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -273,11 +273,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -319,11 +319,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -464,11 +464,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -510,11 +510,11 @@ "type": "list", "ordered": true, "start": 8, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.nogfm.commonmark.json b/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.nogfm.commonmark.json index e7742abcf..cfcdddee6 100644 --- a/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.nogfm.commonmark.json +++ b/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.nogfm.commonmark.json @@ -40,11 +40,11 @@ "type": "list", "ordered": true, "start": 8, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -105,7 +105,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -222,11 +222,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -410,11 +410,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -456,11 +456,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -601,11 +601,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -647,11 +647,11 @@ "type": "list", "ordered": true, "start": 8, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.nogfm.json b/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.nogfm.json index 8cd51ed37..f6b37c066 100644 --- a/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.nogfm.json +++ b/test/fixtures/tree/hard-wrapped-paragraphs-with-list-like-lines.nogfm.json @@ -201,11 +201,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -247,11 +247,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -392,11 +392,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -438,11 +438,11 @@ "type": "list", "ordered": true, "start": 8, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/hr-list-break.json b/test/fixtures/tree/hr-list-break.json index a68ce35a5..e47411e34 100644 --- a/test/fixtures/tree/hr-list-break.json +++ b/test/fixtures/tree/hr-list-break.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -224,11 +224,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -283,7 +283,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -338,7 +338,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -432,11 +432,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -491,7 +491,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -546,26 +546,67 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { - "type": "paragraph", + "type": "list", + "ordered": false, + "start": null, + "spread": false, "children": [ { - "type": "text", - "value": "*\nyou today?", + "type": "listItem", + "spread": false, + "checked": null, + "children": [ + { + "type": "paragraph", + "children": [ + { + "type": "text", + "value": "you today?", + "position": { + "start": { + "line": 19, + "column": 1, + "offset": 191 + }, + "end": { + "line": 19, + "column": 11, + "offset": 201 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 19, + "column": 1, + "offset": 191 + }, + "end": { + "line": 19, + "column": 11, + "offset": 201 + }, + "indent": [] + } + } + ], "position": { "start": { "line": 18, @@ -673,11 +714,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -732,7 +773,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-after-list.commonmark.json b/test/fixtures/tree/list-after-list.commonmark.json index f02745671..5e0567cd2 100644 --- a/test/fixtures/tree/list-after-list.commonmark.json +++ b/test/fixtures/tree/list-after-list.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -194,11 +194,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -253,7 +253,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -308,7 +308,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,11 +399,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -458,7 +458,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -513,7 +513,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -588,11 +588,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -647,7 +647,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -702,7 +702,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-after-list.json b/test/fixtures/tree/list-after-list.json index f02745671..5e0567cd2 100644 --- a/test/fixtures/tree/list-after-list.json +++ b/test/fixtures/tree/list-after-list.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -194,11 +194,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -253,7 +253,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -308,7 +308,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,11 +399,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -458,7 +458,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -513,7 +513,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -588,11 +588,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -647,7 +647,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -702,7 +702,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-after-list.pedantic.json b/test/fixtures/tree/list-after-list.pedantic.json index 3a00a2ff1..aaf3a98fc 100644 --- a/test/fixtures/tree/list-after-list.pedantic.json +++ b/test/fixtures/tree/list-after-list.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -176,7 +176,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -231,7 +231,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -286,7 +286,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -381,11 +381,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -440,7 +440,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -495,7 +495,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -550,7 +550,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -605,7 +605,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -660,7 +660,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-and-code.json b/test/fixtures/tree/list-and-code.json index bc133e3d6..4ea4d5329 100644 --- a/test/fixtures/tree/list-and-code.json +++ b/test/fixtures/tree/list-and-code.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-continuation.commonmark.footnotes.json b/test/fixtures/tree/list-continuation.commonmark.footnotes.json index 2ec7b0a85..7d616d560 100644 --- a/test/fixtures/tree/list-continuation.commonmark.footnotes.json +++ b/test/fixtures/tree/list-continuation.commonmark.footnotes.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -97,11 +97,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -195,11 +195,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -377,41 +377,19 @@ "offset": 40 }, "end": { - "line": 12, - "column": 25, - "offset": 75 + "line": 13, + "column": 1, + "offset": 76 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 11, - "column": 1, - "offset": 40 - }, - "end": { - "line": 12, - "column": 25, - "offset": 75 }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -524,9 +502,9 @@ ], "position": { "start": { - "line": 15, + "line": 11, "column": 1, - "offset": 78 + "offset": 40 }, "end": { "line": 16, @@ -534,6 +512,10 @@ "offset": 104 }, "indent": [ + 1, + 1, + 1, + 1, 1 ] } diff --git a/test/fixtures/tree/list-continuation.commonmark.footnotes.pedantic.json b/test/fixtures/tree/list-continuation.commonmark.footnotes.pedantic.json index 258eacc0f..adfee066c 100644 --- a/test/fixtures/tree/list-continuation.commonmark.footnotes.pedantic.json +++ b/test/fixtures/tree/list-continuation.commonmark.footnotes.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -58,41 +58,19 @@ "offset": 0 }, "end": { - "line": 2, - "column": 4, - "offset": 10 + "line": 3, + "column": 1, + "offset": 11 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 1, - "column": 1, - "offset": 0 - }, - "end": { - "line": 2, - "column": 4, - "offset": 10 }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -160,45 +138,21 @@ "offset": 13 }, "end": { - "line": 8, - "column": 4, - "offset": 37 + "line": 9, + "column": 1, + "offset": 38 }, "indent": [ + 1, 1, 1, 1 ] } - } - ], - "position": { - "start": { - "line": 5, - "column": 1, - "offset": 13 - }, - "end": { - "line": 8, - "column": 4, - "offset": 37 }, - "indent": [ - 1, - 1, - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -376,41 +330,19 @@ "offset": 40 }, "end": { - "line": 12, - "column": 25, - "offset": 75 + "line": 13, + "column": 1, + "offset": 76 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 11, - "column": 1, - "offset": 40 }, - "end": { - "line": 12, - "column": 25, - "offset": 75 - }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -523,9 +455,9 @@ ], "position": { "start": { - "line": 15, + "line": 1, "column": 1, - "offset": 78 + "offset": 0 }, "end": { "line": 16, @@ -533,6 +465,20 @@ "offset": 104 }, "indent": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, 1 ] } diff --git a/test/fixtures/tree/list-continuation.commonmark.json b/test/fixtures/tree/list-continuation.commonmark.json index a356a694c..17f4dfbcb 100644 --- a/test/fixtures/tree/list-continuation.commonmark.json +++ b/test/fixtures/tree/list-continuation.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -97,11 +97,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -195,11 +195,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -377,41 +377,19 @@ "offset": 40 }, "end": { - "line": 12, - "column": 25, - "offset": 75 + "line": 13, + "column": 1, + "offset": 76 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 11, - "column": 1, - "offset": 40 - }, - "end": { - "line": 12, - "column": 25, - "offset": 75 }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -564,9 +542,9 @@ ], "position": { "start": { - "line": 15, + "line": 11, "column": 1, - "offset": 78 + "offset": 40 }, "end": { "line": 16, @@ -574,6 +552,10 @@ "offset": 104 }, "indent": [ + 1, + 1, + 1, + 1, 1 ] } diff --git a/test/fixtures/tree/list-continuation.commonmark.pedantic.json b/test/fixtures/tree/list-continuation.commonmark.pedantic.json index 83af5ec31..d01ad6f62 100644 --- a/test/fixtures/tree/list-continuation.commonmark.pedantic.json +++ b/test/fixtures/tree/list-continuation.commonmark.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -58,41 +58,19 @@ "offset": 0 }, "end": { - "line": 2, - "column": 4, - "offset": 10 + "line": 3, + "column": 1, + "offset": 11 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 1, - "column": 1, - "offset": 0 - }, - "end": { - "line": 2, - "column": 4, - "offset": 10 }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -160,45 +138,21 @@ "offset": 13 }, "end": { - "line": 8, - "column": 4, - "offset": 37 + "line": 9, + "column": 1, + "offset": 38 }, "indent": [ + 1, 1, 1, 1 ] } - } - ], - "position": { - "start": { - "line": 5, - "column": 1, - "offset": 13 - }, - "end": { - "line": 8, - "column": 4, - "offset": 37 }, - "indent": [ - 1, - 1, - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -376,41 +330,19 @@ "offset": 40 }, "end": { - "line": 12, - "column": 25, - "offset": 75 + "line": 13, + "column": 1, + "offset": 76 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 11, - "column": 1, - "offset": 40 }, - "end": { - "line": 12, - "column": 25, - "offset": 75 - }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -563,9 +495,9 @@ ], "position": { "start": { - "line": 15, + "line": 1, "column": 1, - "offset": 78 + "offset": 0 }, "end": { "line": 16, @@ -573,6 +505,20 @@ "offset": 104 }, "indent": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, 1 ] } diff --git a/test/fixtures/tree/list-continuation.footnotes.json b/test/fixtures/tree/list-continuation.footnotes.json index 3226bfdd8..2ca02f116 100644 --- a/test/fixtures/tree/list-continuation.footnotes.json +++ b/test/fixtures/tree/list-continuation.footnotes.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -97,11 +97,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -195,11 +195,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -310,11 +310,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-continuation.footnotes.pedantic.json b/test/fixtures/tree/list-continuation.footnotes.pedantic.json index f16598c62..0f501e711 100644 --- a/test/fixtures/tree/list-continuation.footnotes.pedantic.json +++ b/test/fixtures/tree/list-continuation.footnotes.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -88,11 +88,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -194,11 +194,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -309,11 +309,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-continuation.json b/test/fixtures/tree/list-continuation.json index e1e3420f7..1107d7339 100644 --- a/test/fixtures/tree/list-continuation.json +++ b/test/fixtures/tree/list-continuation.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -97,11 +97,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -195,11 +195,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -310,11 +310,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-continuation.nogfm.commonmark.footnotes.json b/test/fixtures/tree/list-continuation.nogfm.commonmark.footnotes.json index f70b0409c..5e6da088b 100644 --- a/test/fixtures/tree/list-continuation.nogfm.commonmark.footnotes.json +++ b/test/fixtures/tree/list-continuation.nogfm.commonmark.footnotes.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -97,11 +97,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -173,45 +173,21 @@ "offset": 13 }, "end": { - "line": 8, - "column": 4, - "offset": 37 + "line": 9, + "column": 1, + "offset": 38 }, "indent": [ + 1, 1, 1, 1 ] } - } - ], - "position": { - "start": { - "line": 5, - "column": 1, - "offset": 13 }, - "end": { - "line": 8, - "column": 4, - "offset": 37 - }, - "indent": [ - 1, - 1, - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -352,41 +328,19 @@ "offset": 40 }, "end": { - "line": 12, - "column": 25, - "offset": 75 + "line": 13, + "column": 1, + "offset": 76 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 11, - "column": 1, - "offset": 40 }, - "end": { - "line": 12, - "column": 25, - "offset": 75 - }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -499,9 +453,9 @@ ], "position": { "start": { - "line": 15, + "line": 5, "column": 1, - "offset": 78 + "offset": 13 }, "end": { "line": 16, @@ -509,6 +463,16 @@ "offset": 104 }, "indent": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, 1 ] } diff --git a/test/fixtures/tree/list-continuation.nogfm.commonmark.footnotes.pedantic.json b/test/fixtures/tree/list-continuation.nogfm.commonmark.footnotes.pedantic.json index 505350414..8499cfab3 100644 --- a/test/fixtures/tree/list-continuation.nogfm.commonmark.footnotes.pedantic.json +++ b/test/fixtures/tree/list-continuation.nogfm.commonmark.footnotes.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -58,41 +58,19 @@ "offset": 0 }, "end": { - "line": 2, - "column": 4, - "offset": 10 + "line": 3, + "column": 1, + "offset": 11 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 1, - "column": 1, - "offset": 0 - }, - "end": { - "line": 2, - "column": 4, - "offset": 10 }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -164,45 +142,21 @@ "offset": 13 }, "end": { - "line": 8, - "column": 4, - "offset": 37 + "line": 9, + "column": 1, + "offset": 38 }, "indent": [ + 1, 1, 1, 1 ] } - } - ], - "position": { - "start": { - "line": 5, - "column": 1, - "offset": 13 - }, - "end": { - "line": 8, - "column": 4, - "offset": 37 }, - "indent": [ - 1, - 1, - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -343,41 +297,19 @@ "offset": 40 }, "end": { - "line": 12, - "column": 25, - "offset": 75 + "line": 13, + "column": 1, + "offset": 76 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 11, - "column": 1, - "offset": 40 }, - "end": { - "line": 12, - "column": 25, - "offset": 75 - }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -490,9 +422,9 @@ ], "position": { "start": { - "line": 15, + "line": 1, "column": 1, - "offset": 78 + "offset": 0 }, "end": { "line": 16, @@ -500,6 +432,20 @@ "offset": 104 }, "indent": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, 1 ] } diff --git a/test/fixtures/tree/list-continuation.nogfm.commonmark.json b/test/fixtures/tree/list-continuation.nogfm.commonmark.json index 4756f20c5..cee19553b 100644 --- a/test/fixtures/tree/list-continuation.nogfm.commonmark.json +++ b/test/fixtures/tree/list-continuation.nogfm.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -97,11 +97,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -173,45 +173,21 @@ "offset": 13 }, "end": { - "line": 8, - "column": 4, - "offset": 37 + "line": 9, + "column": 1, + "offset": 38 }, "indent": [ + 1, 1, 1, 1 ] } - } - ], - "position": { - "start": { - "line": 5, - "column": 1, - "offset": 13 }, - "end": { - "line": 8, - "column": 4, - "offset": 37 - }, - "indent": [ - 1, - 1, - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -352,41 +328,19 @@ "offset": 40 }, "end": { - "line": 12, - "column": 25, - "offset": 75 + "line": 13, + "column": 1, + "offset": 76 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 11, - "column": 1, - "offset": 40 }, - "end": { - "line": 12, - "column": 25, - "offset": 75 - }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -539,9 +493,9 @@ ], "position": { "start": { - "line": 15, + "line": 5, "column": 1, - "offset": 78 + "offset": 13 }, "end": { "line": 16, @@ -549,6 +503,16 @@ "offset": 104 }, "indent": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, 1 ] } diff --git a/test/fixtures/tree/list-continuation.nogfm.commonmark.pedantic.json b/test/fixtures/tree/list-continuation.nogfm.commonmark.pedantic.json index 841d20d3e..cf1fb5d8f 100644 --- a/test/fixtures/tree/list-continuation.nogfm.commonmark.pedantic.json +++ b/test/fixtures/tree/list-continuation.nogfm.commonmark.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -58,41 +58,19 @@ "offset": 0 }, "end": { - "line": 2, - "column": 4, - "offset": 10 + "line": 3, + "column": 1, + "offset": 11 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 1, - "column": 1, - "offset": 0 - }, - "end": { - "line": 2, - "column": 4, - "offset": 10 }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -164,45 +142,21 @@ "offset": 13 }, "end": { - "line": 8, - "column": 4, - "offset": 37 + "line": 9, + "column": 1, + "offset": 38 }, "indent": [ + 1, 1, 1, 1 ] } - } - ], - "position": { - "start": { - "line": 5, - "column": 1, - "offset": 13 - }, - "end": { - "line": 8, - "column": 4, - "offset": 37 }, - "indent": [ - 1, - 1, - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -343,41 +297,19 @@ "offset": 40 }, "end": { - "line": 12, - "column": 25, - "offset": 75 + "line": 13, + "column": 1, + "offset": 76 }, "indent": [ + 1, 1 ] } - } - ], - "position": { - "start": { - "line": 11, - "column": 1, - "offset": 40 }, - "end": { - "line": 12, - "column": 25, - "offset": 75 - }, - "indent": [ - 1 - ] - } - }, - { - "type": "list", - "ordered": true, - "start": 1, - "loose": false, - "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -530,9 +462,9 @@ ], "position": { "start": { - "line": 15, + "line": 1, "column": 1, - "offset": 78 + "offset": 0 }, "end": { "line": 16, @@ -540,6 +472,20 @@ "offset": 104 }, "indent": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, 1 ] } diff --git a/test/fixtures/tree/list-continuation.nogfm.footnotes.json b/test/fixtures/tree/list-continuation.nogfm.footnotes.json index 2c485e2cd..9368d2230 100644 --- a/test/fixtures/tree/list-continuation.nogfm.footnotes.json +++ b/test/fixtures/tree/list-continuation.nogfm.footnotes.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -97,11 +97,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -207,11 +207,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -322,11 +322,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-continuation.nogfm.footnotes.pedantic.json b/test/fixtures/tree/list-continuation.nogfm.footnotes.pedantic.json index 50968a3c3..3c155c277 100644 --- a/test/fixtures/tree/list-continuation.nogfm.footnotes.pedantic.json +++ b/test/fixtures/tree/list-continuation.nogfm.footnotes.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -88,11 +88,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -198,11 +198,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -313,11 +313,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-continuation.nogfm.json b/test/fixtures/tree/list-continuation.nogfm.json index ef7f9b287..a08dbe884 100644 --- a/test/fixtures/tree/list-continuation.nogfm.json +++ b/test/fixtures/tree/list-continuation.nogfm.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -97,11 +97,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -207,11 +207,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -322,11 +322,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-continuation.nogfm.pedantic.json b/test/fixtures/tree/list-continuation.nogfm.pedantic.json index 2cb5e1d83..95777e986 100644 --- a/test/fixtures/tree/list-continuation.nogfm.pedantic.json +++ b/test/fixtures/tree/list-continuation.nogfm.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -88,11 +88,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -198,11 +198,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -313,11 +313,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-continuation.pedantic.json b/test/fixtures/tree/list-continuation.pedantic.json index 5b0e1aa56..5e0d55fb1 100644 --- a/test/fixtures/tree/list-continuation.pedantic.json +++ b/test/fixtures/tree/list-continuation.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -88,11 +88,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -194,11 +194,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -309,11 +309,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-indentation.nooutput.commonmark.json b/test/fixtures/tree/list-indentation.nooutput.commonmark.json index 763d4520b..6bb317f63 100644 --- a/test/fixtures/tree/list-indentation.nooutput.commonmark.json +++ b/test/fixtures/tree/list-indentation.nooutput.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -116,11 +116,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -214,7 +214,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -326,11 +326,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -424,7 +424,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -536,11 +536,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -634,7 +634,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -730,11 +730,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -828,7 +828,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -906,7 +906,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-indentation.nooutput.commonmark.pedantic.json b/test/fixtures/tree/list-indentation.nooutput.commonmark.pedantic.json index 4cfd4c841..fa89bab31 100644 --- a/test/fixtures/tree/list-indentation.nooutput.commonmark.pedantic.json +++ b/test/fixtures/tree/list-indentation.nooutput.commonmark.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -116,11 +116,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -214,7 +214,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -326,11 +326,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -424,7 +424,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -536,11 +536,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -634,7 +634,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -730,11 +730,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -828,7 +828,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -922,7 +922,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-indentation.nooutput.json b/test/fixtures/tree/list-indentation.nooutput.json index 7189c4abc..537801f16 100644 --- a/test/fixtures/tree/list-indentation.nooutput.json +++ b/test/fixtures/tree/list-indentation.nooutput.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -103,7 +103,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -197,7 +197,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -291,7 +291,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -385,7 +385,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -479,7 +479,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -573,7 +573,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -667,7 +667,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -761,7 +761,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -839,7 +839,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-indentation.nooutput.nogfm.commonmark.json b/test/fixtures/tree/list-indentation.nooutput.nogfm.commonmark.json index 763d4520b..6bb317f63 100644 --- a/test/fixtures/tree/list-indentation.nooutput.nogfm.commonmark.json +++ b/test/fixtures/tree/list-indentation.nooutput.nogfm.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -116,11 +116,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -214,7 +214,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -326,11 +326,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -424,7 +424,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -536,11 +536,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -634,7 +634,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -730,11 +730,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -828,7 +828,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -906,7 +906,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-indentation.nooutput.nogfm.json b/test/fixtures/tree/list-indentation.nooutput.nogfm.json index 7189c4abc..537801f16 100644 --- a/test/fixtures/tree/list-indentation.nooutput.nogfm.json +++ b/test/fixtures/tree/list-indentation.nooutput.nogfm.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -103,7 +103,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -197,7 +197,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -291,7 +291,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -385,7 +385,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -479,7 +479,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -573,7 +573,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -667,7 +667,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -761,7 +761,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -839,7 +839,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-indentation.nooutput.pedantic.json b/test/fixtures/tree/list-indentation.nooutput.pedantic.json index 4cd451b06..8e2fbdd9c 100644 --- a/test/fixtures/tree/list-indentation.nooutput.pedantic.json +++ b/test/fixtures/tree/list-indentation.nooutput.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -103,7 +103,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -197,7 +197,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -291,7 +291,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -385,7 +385,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -479,7 +479,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -573,7 +573,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -667,7 +667,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -761,7 +761,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -855,7 +855,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-interrupt.json b/test/fixtures/tree/list-interrupt.json index ced7382ac..4fc601b54 100644 --- a/test/fixtures/tree/list-interrupt.json +++ b/test/fixtures/tree/list-interrupt.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-interrupt.pedantic.json b/test/fixtures/tree/list-interrupt.pedantic.json index 75eb4c536..6d6c878e6 100644 --- a/test/fixtures/tree/list-interrupt.pedantic.json +++ b/test/fixtures/tree/list-interrupt.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-empty-with-white-space.json b/test/fixtures/tree/list-item-empty-with-white-space.json index ac65edefd..29ccbb21c 100644 --- a/test/fixtures/tree/list-item-empty-with-white-space.json +++ b/test/fixtures/tree/list-item-empty-with-white-space.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { diff --git a/test/fixtures/tree/list-item-empty-without-white-space-eof.json b/test/fixtures/tree/list-item-empty-without-white-space-eof.json new file mode 100644 index 000000000..a7c8ef61d --- /dev/null +++ b/test/fixtures/tree/list-item-empty-without-white-space-eof.json @@ -0,0 +1,57 @@ +{ + "type": "root", + "children": [ + { + "type": "list", + "ordered": false, + "start": null, + "spread": false, + "children": [ + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 1, + "column": 1, + "offset": 0 + }, + "end": { + "line": 1, + "column": 2, + "offset": 1 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 1, + "column": 1, + "offset": 0 + }, + "end": { + "line": 1, + "column": 2, + "offset": 1 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 1, + "column": 1, + "offset": 0 + }, + "end": { + "line": 1, + "column": 2, + "offset": 1 + } + } +} diff --git a/test/fixtures/tree/list-item-empty-without-white-space.json b/test/fixtures/tree/list-item-empty-without-white-space.json new file mode 100644 index 000000000..42c11bf59 --- /dev/null +++ b/test/fixtures/tree/list-item-empty-without-white-space.json @@ -0,0 +1,57 @@ +{ + "type": "root", + "children": [ + { + "type": "list", + "ordered": false, + "start": null, + "spread": false, + "children": [ + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 1, + "column": 1, + "offset": 0 + }, + "end": { + "line": 1, + "column": 2, + "offset": 1 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 1, + "column": 1, + "offset": 0 + }, + "end": { + "line": 1, + "column": 2, + "offset": 1 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 1, + "column": 1, + "offset": 0 + }, + "end": { + "line": 2, + "column": 1, + "offset": 2 + } + } +} diff --git a/test/fixtures/tree/list-item-empty.commonmark.json b/test/fixtures/tree/list-item-empty.commonmark.json new file mode 100644 index 000000000..beed99457 --- /dev/null +++ b/test/fixtures/tree/list-item-empty.commonmark.json @@ -0,0 +1,305 @@ +{ + "type": "root", + "children": [ + { + "type": "list", + "ordered": false, + "start": null, + "spread": true, + "children": [ + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [ + { + "type": "paragraph", + "children": [ + { + "type": "text", + "value": "foo", + "position": { + "start": { + "line": 1, + "column": 5, + "offset": 4 + }, + "end": { + "line": 1, + "column": 8, + "offset": 7 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 1, + "column": 5, + "offset": 4 + }, + "end": { + "line": 1, + "column": 8, + "offset": 7 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 1, + "column": 1, + "offset": 0 + }, + "end": { + "line": 1, + "column": 8, + "offset": 7 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 2, + "column": 1, + "offset": 8 + }, + "end": { + "line": 2, + "column": 2, + "offset": 9 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [ + { + "type": "paragraph", + "children": [ + { + "type": "text", + "value": "bar", + "position": { + "start": { + "line": 3, + "column": 5, + "offset": 14 + }, + "end": { + "line": 3, + "column": 8, + "offset": 17 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 3, + "column": 5, + "offset": 14 + }, + "end": { + "line": 3, + "column": 8, + "offset": 17 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 3, + "column": 1, + "offset": 10 + }, + "end": { + "line": 4, + "column": 1, + "offset": 18 + }, + "indent": [ + 1 + ] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [ + { + "type": "paragraph", + "children": [ + { + "type": "text", + "value": "foo", + "position": { + "start": { + "line": 5, + "column": 7, + "offset": 25 + }, + "end": { + "line": 5, + "column": 10, + "offset": 28 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 5, + "column": 7, + "offset": 25 + }, + "end": { + "line": 5, + "column": 10, + "offset": 28 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 5, + "column": 1, + "offset": 19 + }, + "end": { + "line": 5, + "column": 10, + "offset": 28 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 6, + "column": 1, + "offset": 29 + }, + "end": { + "line": 6, + "column": 4, + "offset": 32 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [ + { + "type": "paragraph", + "children": [ + { + "type": "text", + "value": "bar", + "position": { + "start": { + "line": 7, + "column": 7, + "offset": 39 + }, + "end": { + "line": 7, + "column": 10, + "offset": 42 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 7, + "column": 7, + "offset": 39 + }, + "end": { + "line": 7, + "column": 10, + "offset": 42 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 7, + "column": 1, + "offset": 33 + }, + "end": { + "line": 7, + "column": 10, + "offset": 42 + }, + "indent": [] + } + } + ], + "position": { + "start": { + "line": 1, + "column": 1, + "offset": 0 + }, + "end": { + "line": 7, + "column": 10, + "offset": 42 + }, + "indent": [ + 1, + 1, + 1, + 1, + 1, + 1 + ] + } + } + ], + "position": { + "start": { + "line": 1, + "column": 1, + "offset": 0 + }, + "end": { + "line": 8, + "column": 1, + "offset": 43 + } + } +} diff --git a/test/fixtures/tree/list-item-empty.json b/test/fixtures/tree/list-item-empty.json index e6f6e1d77..beed99457 100644 --- a/test/fixtures/tree/list-item-empty.json +++ b/test/fixtures/tree/list-item-empty.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { @@ -83,7 +83,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -140,7 +140,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -195,7 +195,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { @@ -214,7 +214,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-empty.pedantic.json b/test/fixtures/tree/list-item-empty.pedantic.json index bd81c4336..4b565b3b1 100644 --- a/test/fixtures/tree/list-item-empty.pedantic.json +++ b/test/fixtures/tree/list-item-empty.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -176,7 +176,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -231,7 +231,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -286,7 +286,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-indent.list-item-indent=1.output.json b/test/fixtures/tree/list-item-indent.list-item-indent=1.output.json index 75cae9a0d..ed0cf19d1 100644 --- a/test/fixtures/tree/list-item-indent.list-item-indent=1.output.json +++ b/test/fixtures/tree/list-item-indent.list-item-indent=1.output.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -98,11 +98,11 @@ "type": "list", "ordered": true, "start": 99, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -191,11 +191,11 @@ "type": "list", "ordered": true, "start": 999, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -284,11 +284,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -385,11 +385,11 @@ "type": "list", "ordered": true, "start": 99, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -486,11 +486,11 @@ "type": "list", "ordered": true, "start": 999, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -587,11 +587,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -680,11 +680,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-indent.list-item-indent=mixed.output.json b/test/fixtures/tree/list-item-indent.list-item-indent=mixed.output.json index 571e5cbbb..9a5902514 100644 --- a/test/fixtures/tree/list-item-indent.list-item-indent=mixed.output.json +++ b/test/fixtures/tree/list-item-indent.list-item-indent=mixed.output.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -98,11 +98,11 @@ "type": "list", "ordered": true, "start": 99, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -191,11 +191,11 @@ "type": "list", "ordered": true, "start": 999, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -284,11 +284,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -385,11 +385,11 @@ "type": "list", "ordered": true, "start": 99, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -486,11 +486,11 @@ "type": "list", "ordered": true, "start": 999, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -587,11 +587,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -680,11 +680,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-indent.list-item-indent=tab.output.json b/test/fixtures/tree/list-item-indent.list-item-indent=tab.output.json index 192a73cfe..bb2d54d04 100644 --- a/test/fixtures/tree/list-item-indent.list-item-indent=tab.output.json +++ b/test/fixtures/tree/list-item-indent.list-item-indent=tab.output.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -98,11 +98,11 @@ "type": "list", "ordered": true, "start": 99, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -191,11 +191,11 @@ "type": "list", "ordered": true, "start": 999, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -284,11 +284,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -385,11 +385,11 @@ "type": "list", "ordered": true, "start": 99, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -486,11 +486,11 @@ "type": "list", "ordered": true, "start": 999, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -587,11 +587,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -680,11 +680,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-newline.nooutput.json b/test/fixtures/tree/list-item-newline.nooutput.json index 236f2ec7b..8ba0992ba 100644 --- a/test/fixtures/tree/list-item-newline.nooutput.json +++ b/test/fixtures/tree/list-item-newline.nooutput.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-newline.nooutput.pedantic.json b/test/fixtures/tree/list-item-newline.nooutput.pedantic.json index cd54ba51a..7f37900b1 100644 --- a/test/fixtures/tree/list-item-newline.nooutput.pedantic.json +++ b/test/fixtures/tree/list-item-newline.nooutput.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-text.commonmark.json b/test/fixtures/tree/list-item-text.commonmark.json index ab7004330..56287b40f 100644 --- a/test/fixtures/tree/list-item-text.commonmark.json +++ b/test/fixtures/tree/list-item-text.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -51,11 +51,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-text.commonmark.pedantic.json b/test/fixtures/tree/list-item-text.commonmark.pedantic.json index ab7004330..56287b40f 100644 --- a/test/fixtures/tree/list-item-text.commonmark.pedantic.json +++ b/test/fixtures/tree/list-item-text.commonmark.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -51,11 +51,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-text.json b/test/fixtures/tree/list-item-text.json index e046327a9..076d5ec2e 100644 --- a/test/fixtures/tree/list-item-text.json +++ b/test/fixtures/tree/list-item-text.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -51,11 +51,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-item-text.pedantic.json b/test/fixtures/tree/list-item-text.pedantic.json index 1e1ded6e4..eecb45c85 100644 --- a/test/fixtures/tree/list-item-text.pedantic.json +++ b/test/fixtures/tree/list-item-text.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -51,11 +51,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-ordered-empty-no-space-single-item.commonmark.json b/test/fixtures/tree/list-ordered-empty-no-space-single-item.commonmark.json index d95d8222b..0ddee8746 100644 --- a/test/fixtures/tree/list-ordered-empty-no-space-single-item.commonmark.json +++ b/test/fixtures/tree/list-ordered-empty-no-space-single-item.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { diff --git a/test/fixtures/tree/list-ordered-empty-no-space-single-item.json b/test/fixtures/tree/list-ordered-empty-no-space-single-item.json index f8c3ac820..0ddee8746 100644 --- a/test/fixtures/tree/list-ordered-empty-no-space-single-item.json +++ b/test/fixtures/tree/list-ordered-empty-no-space-single-item.json @@ -2,11 +2,16 @@ "type": "root", "children": [ { - "type": "paragraph", + "type": "list", + "ordered": true, + "start": 1, + "spread": false, "children": [ { - "type": "text", - "value": "1.", + "type": "listItem", + "spread": false, + "checked": null, + "children": [], "position": { "start": { "line": 1, diff --git a/test/fixtures/tree/list-ordered-empty-no-space.commonmark.json b/test/fixtures/tree/list-ordered-empty-no-space.commonmark.json index e8fd8fe1a..54e65d568 100644 --- a/test/fixtures/tree/list-ordered-empty-no-space.commonmark.json +++ b/test/fixtures/tree/list-ordered-empty-no-space.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { @@ -28,7 +28,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { @@ -47,7 +47,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { @@ -66,7 +66,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { diff --git a/test/fixtures/tree/list-ordered-empty-no-space.json b/test/fixtures/tree/list-ordered-empty-no-space.json index 8c39df75b..54e65d568 100644 --- a/test/fixtures/tree/list-ordered-empty-no-space.json +++ b/test/fixtures/tree/list-ordered-empty-no-space.json @@ -2,27 +2,85 @@ "type": "root", "children": [ { - "type": "paragraph", + "type": "list", + "ordered": true, + "start": 1, + "spread": false, "children": [ { - "type": "text", - "value": "1.\n2.\n3.\n4.", + "type": "listItem", + "spread": false, + "checked": null, + "children": [], "position": { "start": { "line": 1, "column": 1, "offset": 0 }, + "end": { + "line": 1, + "column": 3, + "offset": 2 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 2, + "column": 1, + "offset": 3 + }, + "end": { + "line": 2, + "column": 3, + "offset": 5 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 3, + "column": 1, + "offset": 6 + }, + "end": { + "line": 3, + "column": 3, + "offset": 8 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 4, + "column": 1, + "offset": 9 + }, "end": { "line": 4, "column": 3, "offset": 11 }, - "indent": [ - 1, - 1, - 1 - ] + "indent": [] } } ], diff --git a/test/fixtures/tree/list-ordered.increment-list-marker.output.json b/test/fixtures/tree/list-ordered.increment-list-marker.output.json index 5ddab3772..b5f44d46b 100644 --- a/test/fixtures/tree/list-ordered.increment-list-marker.output.json +++ b/test/fixtures/tree/list-ordered.increment-list-marker.output.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 2, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-ordered.noincrement-list-marker.output.json b/test/fixtures/tree/list-ordered.noincrement-list-marker.output.json index 5ddab3772..b5f44d46b 100644 --- a/test/fixtures/tree/list-ordered.noincrement-list-marker.output.json +++ b/test/fixtures/tree/list-ordered.noincrement-list-marker.output.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 2, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list-unordered-empty-no-space-single-item.commonmark.json b/test/fixtures/tree/list-unordered-empty-no-space-single-item.commonmark.json index dbb734791..a7c8ef61d 100644 --- a/test/fixtures/tree/list-unordered-empty-no-space-single-item.commonmark.json +++ b/test/fixtures/tree/list-unordered-empty-no-space-single-item.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { diff --git a/test/fixtures/tree/list-unordered-empty-no-space-single-item.json b/test/fixtures/tree/list-unordered-empty-no-space-single-item.json index d8aa5685d..a7c8ef61d 100644 --- a/test/fixtures/tree/list-unordered-empty-no-space-single-item.json +++ b/test/fixtures/tree/list-unordered-empty-no-space-single-item.json @@ -2,11 +2,16 @@ "type": "root", "children": [ { - "type": "paragraph", + "type": "list", + "ordered": false, + "start": null, + "spread": false, "children": [ { - "type": "text", - "value": "*", + "type": "listItem", + "spread": false, + "checked": null, + "children": [], "position": { "start": { "line": 1, diff --git a/test/fixtures/tree/list-unordered-empty-no-space.commonmark.json b/test/fixtures/tree/list-unordered-empty-no-space.commonmark.json index a311b2374..139a9d968 100644 --- a/test/fixtures/tree/list-unordered-empty-no-space.commonmark.json +++ b/test/fixtures/tree/list-unordered-empty-no-space.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { @@ -28,7 +28,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { @@ -47,7 +47,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { @@ -66,7 +66,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [], "position": { diff --git a/test/fixtures/tree/list-unordered-empty-no-space.json b/test/fixtures/tree/list-unordered-empty-no-space.json index 78957cfad..139a9d968 100644 --- a/test/fixtures/tree/list-unordered-empty-no-space.json +++ b/test/fixtures/tree/list-unordered-empty-no-space.json @@ -2,27 +2,85 @@ "type": "root", "children": [ { - "type": "paragraph", + "type": "list", + "ordered": false, + "start": null, + "spread": false, "children": [ { - "type": "text", - "value": "*\n*\n*\n*", + "type": "listItem", + "spread": false, + "checked": null, + "children": [], "position": { "start": { "line": 1, "column": 1, "offset": 0 }, + "end": { + "line": 1, + "column": 2, + "offset": 1 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 2, + "column": 1, + "offset": 2 + }, + "end": { + "line": 2, + "column": 2, + "offset": 3 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 3, + "column": 1, + "offset": 4 + }, + "end": { + "line": 3, + "column": 2, + "offset": 5 + }, + "indent": [] + } + }, + { + "type": "listItem", + "spread": false, + "checked": null, + "children": [], + "position": { + "start": { + "line": 4, + "column": 1, + "offset": 6 + }, "end": { "line": 4, "column": 2, "offset": 7 }, - "indent": [ - 1, - 1, - 1 - ] + "indent": [] } } ], diff --git a/test/fixtures/tree/list.output.bullet=+.json b/test/fixtures/tree/list.output.bullet=+.json index 8a08e74e9..3046f32ff 100644 --- a/test/fixtures/tree/list.output.bullet=+.json +++ b/test/fixtures/tree/list.output.bullet=+.json @@ -41,11 +41,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -87,11 +87,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -146,7 +146,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -188,11 +188,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -316,7 +316,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -371,7 +371,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list.output.bullet=-.json b/test/fixtures/tree/list.output.bullet=-.json index 8a08e74e9..3046f32ff 100644 --- a/test/fixtures/tree/list.output.bullet=-.json +++ b/test/fixtures/tree/list.output.bullet=-.json @@ -41,11 +41,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -87,11 +87,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -146,7 +146,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -188,11 +188,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -316,7 +316,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -371,7 +371,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/list.output.bullet=-asterisk-.json b/test/fixtures/tree/list.output.bullet=-asterisk-.json index 8a08e74e9..3046f32ff 100644 --- a/test/fixtures/tree/list.output.bullet=-asterisk-.json +++ b/test/fixtures/tree/list.output.bullet=-asterisk-.json @@ -41,11 +41,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -87,11 +87,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -146,7 +146,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -188,11 +188,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -316,7 +316,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -371,7 +371,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/lists-with-code-and-rules.commonmark.pedantic.json b/test/fixtures/tree/lists-with-code-and-rules.commonmark.pedantic.json index 57bb25d4c..ce829cbd1 100644 --- a/test/fixtures/tree/lists-with-code-and-rules.commonmark.pedantic.json +++ b/test/fixtures/tree/lists-with-code-and-rules.commonmark.pedantic.json @@ -41,11 +41,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -90,11 +90,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -225,7 +225,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -310,7 +310,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -352,11 +352,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -473,7 +473,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -600,7 +600,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -725,7 +725,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -842,7 +842,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/lists-with-code-and-rules.json b/test/fixtures/tree/lists-with-code-and-rules.json index 5667f789e..d3b7ff895 100644 --- a/test/fixtures/tree/lists-with-code-and-rules.json +++ b/test/fixtures/tree/lists-with-code-and-rules.json @@ -41,11 +41,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -90,11 +90,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -136,11 +136,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -182,11 +182,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -241,7 +241,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -296,7 +296,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -490,7 +490,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -575,7 +575,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -617,11 +617,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -738,7 +738,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -865,7 +865,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -990,7 +990,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1107,7 +1107,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/lists-with-code-and-rules.nogfm.commonmark.pedantic.json b/test/fixtures/tree/lists-with-code-and-rules.nogfm.commonmark.pedantic.json index 4394ddd08..d101695ca 100644 --- a/test/fixtures/tree/lists-with-code-and-rules.nogfm.commonmark.pedantic.json +++ b/test/fixtures/tree/lists-with-code-and-rules.nogfm.commonmark.pedantic.json @@ -41,11 +41,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -90,11 +90,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -225,7 +225,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -330,7 +330,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -372,11 +372,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -512,7 +512,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -797,7 +797,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1079,7 +1079,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1196,7 +1196,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/lists-with-code-and-rules.nogfm.json b/test/fixtures/tree/lists-with-code-and-rules.nogfm.json index 7613fdf88..c247933a0 100644 --- a/test/fixtures/tree/lists-with-code-and-rules.nogfm.json +++ b/test/fixtures/tree/lists-with-code-and-rules.nogfm.json @@ -41,11 +41,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -90,11 +90,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -136,11 +136,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -182,11 +182,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -241,7 +241,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -296,7 +296,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -490,7 +490,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -595,7 +595,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -637,11 +637,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -777,7 +777,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1080,7 +1080,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1380,7 +1380,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1497,7 +1497,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/lists-with-code-and-rules.nogfm.pedantic.json b/test/fixtures/tree/lists-with-code-and-rules.nogfm.pedantic.json index 593b67172..ac71be7c2 100644 --- a/test/fixtures/tree/lists-with-code-and-rules.nogfm.pedantic.json +++ b/test/fixtures/tree/lists-with-code-and-rules.nogfm.pedantic.json @@ -41,11 +41,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -90,11 +90,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -136,11 +136,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -182,11 +182,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -241,7 +241,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -296,7 +296,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -490,7 +490,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -595,7 +595,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -637,11 +637,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -777,7 +777,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1080,7 +1080,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1380,7 +1380,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1497,7 +1497,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/lists-with-code-and-rules.pedantic.json b/test/fixtures/tree/lists-with-code-and-rules.pedantic.json index 7c6a69203..55cd62eb1 100644 --- a/test/fixtures/tree/lists-with-code-and-rules.pedantic.json +++ b/test/fixtures/tree/lists-with-code-and-rules.pedantic.json @@ -41,11 +41,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -90,11 +90,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -136,11 +136,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -182,11 +182,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -241,7 +241,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -296,7 +296,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -490,7 +490,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -575,7 +575,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -617,11 +617,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -738,7 +738,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -865,7 +865,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -990,7 +990,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1107,7 +1107,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/loose-lists.json b/test/fixtures/tree/loose-lists.json index 4677997b2..63a4c1347 100644 --- a/test/fixtures/tree/loose-lists.json +++ b/test/fixtures/tree/loose-lists.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -112,7 +112,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -225,11 +225,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -271,11 +271,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -379,7 +379,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -479,7 +479,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -560,11 +560,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -621,7 +621,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -676,7 +676,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -752,11 +752,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -811,7 +811,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -868,7 +868,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -944,11 +944,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1003,7 +1003,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1096,7 +1096,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1173,11 +1173,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1232,7 +1232,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1287,7 +1287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1369,11 +1369,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1428,7 +1428,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1485,7 +1485,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/loose-lists.nogfm.json b/test/fixtures/tree/loose-lists.nogfm.json index 4677997b2..63a4c1347 100644 --- a/test/fixtures/tree/loose-lists.nogfm.json +++ b/test/fixtures/tree/loose-lists.nogfm.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -112,7 +112,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -225,11 +225,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -271,11 +271,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -379,7 +379,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -479,7 +479,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -560,11 +560,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -621,7 +621,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -676,7 +676,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -752,11 +752,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -811,7 +811,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -868,7 +868,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -944,11 +944,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1003,7 +1003,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1096,7 +1096,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1173,11 +1173,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1232,7 +1232,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1287,7 +1287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1369,11 +1369,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1428,7 +1428,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1485,7 +1485,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/loose-lists.nogfm.pedantic.json b/test/fixtures/tree/loose-lists.nogfm.pedantic.json index ea2b39f2f..a77af1dcd 100644 --- a/test/fixtures/tree/loose-lists.nogfm.pedantic.json +++ b/test/fixtures/tree/loose-lists.nogfm.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -112,7 +112,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -225,11 +225,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -271,11 +271,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -394,11 +394,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -491,7 +491,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -572,11 +572,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -633,7 +633,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -688,7 +688,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -764,11 +764,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -823,7 +823,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -880,7 +880,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -956,11 +956,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1015,7 +1015,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1108,7 +1108,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1185,11 +1185,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1244,7 +1244,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1299,7 +1299,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1381,11 +1381,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1440,7 +1440,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1497,7 +1497,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/loose-lists.pedantic.json b/test/fixtures/tree/loose-lists.pedantic.json index ea2b39f2f..a77af1dcd 100644 --- a/test/fixtures/tree/loose-lists.pedantic.json +++ b/test/fixtures/tree/loose-lists.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -112,7 +112,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -225,11 +225,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -271,11 +271,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -394,11 +394,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -491,7 +491,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -572,11 +572,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -633,7 +633,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -688,7 +688,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -764,11 +764,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -823,7 +823,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -880,7 +880,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -956,11 +956,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1015,7 +1015,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1108,7 +1108,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1185,11 +1185,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1244,7 +1244,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1299,7 +1299,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1381,11 +1381,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1440,7 +1440,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1497,7 +1497,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/main.json b/test/fixtures/tree/main.json index d4c59f774..d566dc3e8 100644 --- a/test/fixtures/tree/main.json +++ b/test/fixtures/tree/main.json @@ -209,11 +209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -270,7 +270,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -312,11 +312,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -377,7 +377,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -444,7 +444,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -553,7 +553,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -748,11 +748,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -807,7 +807,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -849,11 +849,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -908,7 +908,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/main.nogfm.json b/test/fixtures/tree/main.nogfm.json index d4c59f774..d566dc3e8 100644 --- a/test/fixtures/tree/main.nogfm.json +++ b/test/fixtures/tree/main.nogfm.json @@ -209,11 +209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -270,7 +270,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -312,11 +312,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -377,7 +377,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -444,7 +444,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -553,7 +553,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -748,11 +748,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -807,7 +807,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -849,11 +849,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -908,7 +908,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/main.nogfm.pedantic.json b/test/fixtures/tree/main.nogfm.pedantic.json index 4a9c22bac..c539585c3 100644 --- a/test/fixtures/tree/main.nogfm.pedantic.json +++ b/test/fixtures/tree/main.nogfm.pedantic.json @@ -209,11 +209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -270,7 +270,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -312,11 +312,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -377,7 +377,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -444,7 +444,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -553,7 +553,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -748,11 +748,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -807,7 +807,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -849,11 +849,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -908,7 +908,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/main.pedantic.json b/test/fixtures/tree/main.pedantic.json index 4a9c22bac..c539585c3 100644 --- a/test/fixtures/tree/main.pedantic.json +++ b/test/fixtures/tree/main.pedantic.json @@ -209,11 +209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -270,7 +270,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -312,11 +312,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -377,7 +377,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -444,7 +444,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -553,7 +553,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -748,11 +748,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -807,7 +807,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -849,11 +849,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -908,7 +908,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/markdown-documentation-syntax.commonmark.json b/test/fixtures/tree/markdown-documentation-syntax.commonmark.json index ca2ad90e2..7de2a2ec4 100644 --- a/test/fixtures/tree/markdown-documentation-syntax.commonmark.json +++ b/test/fixtures/tree/markdown-documentation-syntax.commonmark.json @@ -67,11 +67,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -133,11 +133,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -212,7 +212,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -287,7 +287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,7 +399,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -461,11 +461,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -540,7 +540,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -690,7 +690,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -765,7 +765,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -840,7 +840,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -958,7 +958,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1020,11 +1020,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1099,7 +1099,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1174,7 +1174,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1249,7 +1249,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1363,7 +1363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1425,11 +1425,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1504,7 +1504,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9413,11 +9413,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9478,7 +9478,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9533,7 +9533,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9588,7 +9588,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9643,7 +9643,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12351,11 +12351,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12444,7 +12444,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12539,7 +12539,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/markdown-documentation-syntax.commonmark.pedantic.json b/test/fixtures/tree/markdown-documentation-syntax.commonmark.pedantic.json index ca2ad90e2..7de2a2ec4 100644 --- a/test/fixtures/tree/markdown-documentation-syntax.commonmark.pedantic.json +++ b/test/fixtures/tree/markdown-documentation-syntax.commonmark.pedantic.json @@ -67,11 +67,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -133,11 +133,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -212,7 +212,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -287,7 +287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,7 +399,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -461,11 +461,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -540,7 +540,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -690,7 +690,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -765,7 +765,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -840,7 +840,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -958,7 +958,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1020,11 +1020,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1099,7 +1099,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1174,7 +1174,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1249,7 +1249,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1363,7 +1363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1425,11 +1425,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1504,7 +1504,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9413,11 +9413,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9478,7 +9478,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9533,7 +9533,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9588,7 +9588,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9643,7 +9643,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12351,11 +12351,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12444,7 +12444,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12539,7 +12539,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/markdown-documentation-syntax.json b/test/fixtures/tree/markdown-documentation-syntax.json index 8b854c6a3..ba881d0e6 100644 --- a/test/fixtures/tree/markdown-documentation-syntax.json +++ b/test/fixtures/tree/markdown-documentation-syntax.json @@ -67,11 +67,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -133,11 +133,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -212,7 +212,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -287,7 +287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,7 +399,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -461,11 +461,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -540,7 +540,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -690,7 +690,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -765,7 +765,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -840,7 +840,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -958,7 +958,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1020,11 +1020,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1099,7 +1099,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1174,7 +1174,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1249,7 +1249,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1363,7 +1363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1425,11 +1425,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1504,7 +1504,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -8981,11 +8981,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9046,7 +9046,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9101,7 +9101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9156,7 +9156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9211,7 +9211,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -11841,11 +11841,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -11934,7 +11934,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12029,7 +12029,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/markdown-documentation-syntax.nogfm.commonmark.json b/test/fixtures/tree/markdown-documentation-syntax.nogfm.commonmark.json index 273c6d7be..5760802ee 100644 --- a/test/fixtures/tree/markdown-documentation-syntax.nogfm.commonmark.json +++ b/test/fixtures/tree/markdown-documentation-syntax.nogfm.commonmark.json @@ -67,11 +67,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -133,11 +133,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -212,7 +212,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -287,7 +287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,7 +399,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -461,11 +461,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -540,7 +540,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -690,7 +690,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -765,7 +765,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -840,7 +840,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -958,7 +958,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1020,11 +1020,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1099,7 +1099,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1174,7 +1174,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1249,7 +1249,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1363,7 +1363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1425,11 +1425,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1504,7 +1504,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9413,11 +9413,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9478,7 +9478,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9533,7 +9533,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9588,7 +9588,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9643,7 +9643,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12314,11 +12314,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12407,7 +12407,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12502,7 +12502,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/markdown-documentation-syntax.nogfm.commonmark.pedantic.json b/test/fixtures/tree/markdown-documentation-syntax.nogfm.commonmark.pedantic.json index 273c6d7be..5760802ee 100644 --- a/test/fixtures/tree/markdown-documentation-syntax.nogfm.commonmark.pedantic.json +++ b/test/fixtures/tree/markdown-documentation-syntax.nogfm.commonmark.pedantic.json @@ -67,11 +67,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -133,11 +133,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -212,7 +212,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -287,7 +287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,7 +399,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -461,11 +461,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -540,7 +540,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -690,7 +690,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -765,7 +765,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -840,7 +840,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -958,7 +958,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1020,11 +1020,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1099,7 +1099,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1174,7 +1174,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1249,7 +1249,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1363,7 +1363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1425,11 +1425,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1504,7 +1504,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9413,11 +9413,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9478,7 +9478,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9533,7 +9533,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9588,7 +9588,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9643,7 +9643,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12314,11 +12314,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12407,7 +12407,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12502,7 +12502,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/markdown-documentation-syntax.nogfm.json b/test/fixtures/tree/markdown-documentation-syntax.nogfm.json index 8b854c6a3..ba881d0e6 100644 --- a/test/fixtures/tree/markdown-documentation-syntax.nogfm.json +++ b/test/fixtures/tree/markdown-documentation-syntax.nogfm.json @@ -67,11 +67,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -133,11 +133,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -212,7 +212,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -287,7 +287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,7 +399,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -461,11 +461,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -540,7 +540,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -690,7 +690,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -765,7 +765,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -840,7 +840,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -958,7 +958,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1020,11 +1020,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1099,7 +1099,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1174,7 +1174,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1249,7 +1249,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1363,7 +1363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1425,11 +1425,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1504,7 +1504,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -8981,11 +8981,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9046,7 +9046,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9101,7 +9101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9156,7 +9156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9211,7 +9211,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -11841,11 +11841,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -11934,7 +11934,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12029,7 +12029,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/markdown-documentation-syntax.nogfm.pedantic.json b/test/fixtures/tree/markdown-documentation-syntax.nogfm.pedantic.json index 8b854c6a3..ba881d0e6 100644 --- a/test/fixtures/tree/markdown-documentation-syntax.nogfm.pedantic.json +++ b/test/fixtures/tree/markdown-documentation-syntax.nogfm.pedantic.json @@ -67,11 +67,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -133,11 +133,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -212,7 +212,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -287,7 +287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,7 +399,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -461,11 +461,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -540,7 +540,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -690,7 +690,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -765,7 +765,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -840,7 +840,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -958,7 +958,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1020,11 +1020,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1099,7 +1099,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1174,7 +1174,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1249,7 +1249,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1363,7 +1363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1425,11 +1425,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1504,7 +1504,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -8981,11 +8981,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9046,7 +9046,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9101,7 +9101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9156,7 +9156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9211,7 +9211,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -11841,11 +11841,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -11934,7 +11934,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12029,7 +12029,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/markdown-documentation-syntax.pedantic.json b/test/fixtures/tree/markdown-documentation-syntax.pedantic.json index 8b854c6a3..ba881d0e6 100644 --- a/test/fixtures/tree/markdown-documentation-syntax.pedantic.json +++ b/test/fixtures/tree/markdown-documentation-syntax.pedantic.json @@ -67,11 +67,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -133,11 +133,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -212,7 +212,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -287,7 +287,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -399,7 +399,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -461,11 +461,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -540,7 +540,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -615,7 +615,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -690,7 +690,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -765,7 +765,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -840,7 +840,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -958,7 +958,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1020,11 +1020,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1099,7 +1099,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1174,7 +1174,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1249,7 +1249,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1363,7 +1363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1425,11 +1425,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1504,7 +1504,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -8981,11 +8981,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9046,7 +9046,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9101,7 +9101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9156,7 +9156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -9211,7 +9211,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -11841,11 +11841,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -11934,7 +11934,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -12029,7 +12029,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/mixed-indentation.commonmark.json b/test/fixtures/tree/mixed-indentation.commonmark.json index 153fa5c73..126825cd8 100644 --- a/test/fixtures/tree/mixed-indentation.commonmark.json +++ b/test/fixtures/tree/mixed-indentation.commonmark.json @@ -41,11 +41,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -125,11 +125,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -209,11 +209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -293,11 +293,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/mixed-indentation.commonmark.pedantic.json b/test/fixtures/tree/mixed-indentation.commonmark.pedantic.json index 5a862183f..0dd5e0ea4 100644 --- a/test/fixtures/tree/mixed-indentation.commonmark.pedantic.json +++ b/test/fixtures/tree/mixed-indentation.commonmark.pedantic.json @@ -41,11 +41,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -107,7 +107,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -169,7 +169,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -231,7 +231,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/mixed-indentation.json b/test/fixtures/tree/mixed-indentation.json index 153fa5c73..126825cd8 100644 --- a/test/fixtures/tree/mixed-indentation.json +++ b/test/fixtures/tree/mixed-indentation.json @@ -41,11 +41,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -125,11 +125,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -209,11 +209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -293,11 +293,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/mixed-indentation.pedantic.json b/test/fixtures/tree/mixed-indentation.pedantic.json index 5a862183f..0dd5e0ea4 100644 --- a/test/fixtures/tree/mixed-indentation.pedantic.json +++ b/test/fixtures/tree/mixed-indentation.pedantic.json @@ -41,11 +41,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -107,7 +107,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -169,7 +169,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -231,7 +231,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/no-positionals.nooutput.commonmark.json b/test/fixtures/tree/no-positionals.nooutput.commonmark.json index 479de3b07..f12b1d25c 100644 --- a/test/fixtures/tree/no-positionals.nooutput.commonmark.json +++ b/test/fixtures/tree/no-positionals.nooutput.commonmark.json @@ -116,11 +116,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -248,11 +248,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/no-positionals.nooutput.commonmark.pedantic.json b/test/fixtures/tree/no-positionals.nooutput.commonmark.pedantic.json index 479de3b07..f12b1d25c 100644 --- a/test/fixtures/tree/no-positionals.nooutput.commonmark.pedantic.json +++ b/test/fixtures/tree/no-positionals.nooutput.commonmark.pedantic.json @@ -116,11 +116,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -248,11 +248,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/no-positionals.nooutput.json b/test/fixtures/tree/no-positionals.nooutput.json index 479de3b07..f12b1d25c 100644 --- a/test/fixtures/tree/no-positionals.nooutput.json +++ b/test/fixtures/tree/no-positionals.nooutput.json @@ -116,11 +116,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -248,11 +248,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/no-positionals.nooutput.noposition.commonmark.json b/test/fixtures/tree/no-positionals.nooutput.noposition.commonmark.json index ad5f367b7..f4186412f 100644 --- a/test/fixtures/tree/no-positionals.nooutput.noposition.commonmark.json +++ b/test/fixtures/tree/no-positionals.nooutput.noposition.commonmark.json @@ -34,11 +34,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -72,11 +72,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/no-positionals.nooutput.noposition.commonmark.pedantic.json b/test/fixtures/tree/no-positionals.nooutput.noposition.commonmark.pedantic.json index ad5f367b7..f4186412f 100644 --- a/test/fixtures/tree/no-positionals.nooutput.noposition.commonmark.pedantic.json +++ b/test/fixtures/tree/no-positionals.nooutput.noposition.commonmark.pedantic.json @@ -34,11 +34,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -72,11 +72,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/no-positionals.nooutput.noposition.json b/test/fixtures/tree/no-positionals.nooutput.noposition.json index ad5f367b7..f4186412f 100644 --- a/test/fixtures/tree/no-positionals.nooutput.noposition.json +++ b/test/fixtures/tree/no-positionals.nooutput.noposition.json @@ -34,11 +34,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -72,11 +72,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/no-positionals.nooutput.pedantic.json b/test/fixtures/tree/no-positionals.nooutput.pedantic.json index 479de3b07..f12b1d25c 100644 --- a/test/fixtures/tree/no-positionals.nooutput.pedantic.json +++ b/test/fixtures/tree/no-positionals.nooutput.pedantic.json @@ -116,11 +116,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -248,11 +248,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/ordered-and-unordered-lists.json b/test/fixtures/tree/ordered-and-unordered-lists.json index e0316ba46..a5b35f374 100644 --- a/test/fixtures/tree/ordered-and-unordered-lists.json +++ b/test/fixtures/tree/ordered-and-unordered-lists.json @@ -76,11 +76,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -135,7 +135,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -190,7 +190,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -300,11 +300,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -361,7 +361,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -418,7 +418,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -546,11 +546,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -605,7 +605,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -660,7 +660,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -770,11 +770,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -831,7 +831,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -888,7 +888,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1016,11 +1016,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1075,7 +1075,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1130,7 +1130,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1240,11 +1240,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1301,7 +1301,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1358,7 +1358,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1506,11 +1506,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1565,7 +1565,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1620,7 +1620,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1730,11 +1730,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1789,7 +1789,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1844,7 +1844,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1954,11 +1954,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2015,7 +2015,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2072,7 +2072,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2184,11 +2184,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2245,7 +2245,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2302,7 +2302,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2414,11 +2414,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -2517,7 +2517,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2574,7 +2574,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2690,11 +2690,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2736,11 +2736,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2782,11 +2782,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2963,11 +2963,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3022,7 +3022,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3064,11 +3064,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3123,7 +3123,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3178,7 +3178,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3270,7 +3270,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3383,11 +3383,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -3444,7 +3444,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -3486,11 +3486,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3545,7 +3545,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3600,7 +3600,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3693,7 +3693,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3808,11 +3808,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -3854,11 +3854,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/ordered-and-unordered-lists.nogfm.json b/test/fixtures/tree/ordered-and-unordered-lists.nogfm.json index e0316ba46..a5b35f374 100644 --- a/test/fixtures/tree/ordered-and-unordered-lists.nogfm.json +++ b/test/fixtures/tree/ordered-and-unordered-lists.nogfm.json @@ -76,11 +76,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -135,7 +135,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -190,7 +190,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -300,11 +300,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -361,7 +361,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -418,7 +418,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -546,11 +546,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -605,7 +605,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -660,7 +660,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -770,11 +770,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -831,7 +831,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -888,7 +888,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1016,11 +1016,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1075,7 +1075,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1130,7 +1130,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1240,11 +1240,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1301,7 +1301,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1358,7 +1358,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1506,11 +1506,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1565,7 +1565,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1620,7 +1620,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1730,11 +1730,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1789,7 +1789,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1844,7 +1844,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1954,11 +1954,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2015,7 +2015,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2072,7 +2072,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2184,11 +2184,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2245,7 +2245,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2302,7 +2302,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2414,11 +2414,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -2517,7 +2517,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2574,7 +2574,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2690,11 +2690,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2736,11 +2736,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2782,11 +2782,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2963,11 +2963,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3022,7 +3022,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3064,11 +3064,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3123,7 +3123,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3178,7 +3178,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3270,7 +3270,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3383,11 +3383,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -3444,7 +3444,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -3486,11 +3486,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3545,7 +3545,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3600,7 +3600,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3693,7 +3693,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3808,11 +3808,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -3854,11 +3854,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/ordered-and-unordered-lists.nogfm.pedantic.json b/test/fixtures/tree/ordered-and-unordered-lists.nogfm.pedantic.json index e0316ba46..a5b35f374 100644 --- a/test/fixtures/tree/ordered-and-unordered-lists.nogfm.pedantic.json +++ b/test/fixtures/tree/ordered-and-unordered-lists.nogfm.pedantic.json @@ -76,11 +76,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -135,7 +135,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -190,7 +190,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -300,11 +300,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -361,7 +361,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -418,7 +418,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -546,11 +546,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -605,7 +605,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -660,7 +660,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -770,11 +770,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -831,7 +831,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -888,7 +888,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1016,11 +1016,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1075,7 +1075,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1130,7 +1130,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1240,11 +1240,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1301,7 +1301,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1358,7 +1358,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1506,11 +1506,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1565,7 +1565,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1620,7 +1620,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1730,11 +1730,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1789,7 +1789,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1844,7 +1844,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1954,11 +1954,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2015,7 +2015,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2072,7 +2072,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2184,11 +2184,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2245,7 +2245,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2302,7 +2302,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2414,11 +2414,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -2517,7 +2517,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2574,7 +2574,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2690,11 +2690,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2736,11 +2736,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2782,11 +2782,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2963,11 +2963,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3022,7 +3022,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3064,11 +3064,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3123,7 +3123,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3178,7 +3178,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3270,7 +3270,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3383,11 +3383,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -3444,7 +3444,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -3486,11 +3486,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3545,7 +3545,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3600,7 +3600,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3693,7 +3693,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3808,11 +3808,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -3854,11 +3854,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/ordered-and-unordered-lists.pedantic.json b/test/fixtures/tree/ordered-and-unordered-lists.pedantic.json index e0316ba46..a5b35f374 100644 --- a/test/fixtures/tree/ordered-and-unordered-lists.pedantic.json +++ b/test/fixtures/tree/ordered-and-unordered-lists.pedantic.json @@ -76,11 +76,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -135,7 +135,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -190,7 +190,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -300,11 +300,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -361,7 +361,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -418,7 +418,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -546,11 +546,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -605,7 +605,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -660,7 +660,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -770,11 +770,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -831,7 +831,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -888,7 +888,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1016,11 +1016,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1075,7 +1075,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1130,7 +1130,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1240,11 +1240,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1301,7 +1301,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1358,7 +1358,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1506,11 +1506,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1565,7 +1565,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1620,7 +1620,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1730,11 +1730,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1789,7 +1789,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1844,7 +1844,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1954,11 +1954,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2015,7 +2015,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2072,7 +2072,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2184,11 +2184,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2245,7 +2245,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2302,7 +2302,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2414,11 +2414,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -2517,7 +2517,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -2574,7 +2574,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2690,11 +2690,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2736,11 +2736,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2782,11 +2782,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2963,11 +2963,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3022,7 +3022,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3064,11 +3064,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3123,7 +3123,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3178,7 +3178,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3270,7 +3270,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3383,11 +3383,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -3444,7 +3444,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -3486,11 +3486,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3545,7 +3545,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3600,7 +3600,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3693,7 +3693,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3808,11 +3808,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": false, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -3854,11 +3854,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/ordered-different-types.commonmark.json b/test/fixtures/tree/ordered-different-types.nooutput.commonmark.json similarity index 97% rename from test/fixtures/tree/ordered-different-types.commonmark.json rename to test/fixtures/tree/ordered-different-types.nooutput.commonmark.json index 65a7d7fce..1287861a5 100644 --- a/test/fixtures/tree/ordered-different-types.commonmark.json +++ b/test/fixtures/tree/ordered-different-types.nooutput.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -138,11 +138,11 @@ "type": "list", "ordered": true, "start": 3, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/ordered-different-types.json b/test/fixtures/tree/ordered-different-types.nooutput.json similarity index 97% rename from test/fixtures/tree/ordered-different-types.json rename to test/fixtures/tree/ordered-different-types.nooutput.json index 9650308af..42eebab43 100644 --- a/test/fixtures/tree/ordered-different-types.json +++ b/test/fixtures/tree/ordered-different-types.nooutput.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/ordered-with-parentheses.commonmark.json b/test/fixtures/tree/ordered-with-parentheses.commonmark.json index 75566ccf0..3a6935cef 100644 --- a/test/fixtures/tree/ordered-with-parentheses.commonmark.json +++ b/test/fixtures/tree/ordered-with-parentheses.commonmark.json @@ -76,11 +76,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -135,7 +135,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -190,7 +190,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -300,11 +300,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -359,7 +359,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -414,7 +414,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -524,11 +524,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -585,7 +585,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -642,7 +642,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -754,11 +754,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -815,7 +815,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -872,7 +872,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -984,11 +984,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -1087,7 +1087,7 @@ }, { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -1144,7 +1144,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/same-bullet.commonmark.json b/test/fixtures/tree/same-bullet.nooutput.commonmark.json similarity index 97% rename from test/fixtures/tree/same-bullet.commonmark.json rename to test/fixtures/tree/same-bullet.nooutput.commonmark.json index d64cf3bee..9b3de8ba3 100644 --- a/test/fixtures/tree/same-bullet.commonmark.json +++ b/test/fixtures/tree/same-bullet.nooutput.commonmark.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -81,11 +81,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -157,11 +157,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/same-bullet.json b/test/fixtures/tree/same-bullet.nooutput.json similarity index 97% rename from test/fixtures/tree/same-bullet.json rename to test/fixtures/tree/same-bullet.nooutput.json index d64cf3bee..9b3de8ba3 100644 --- a/test/fixtures/tree/same-bullet.json +++ b/test/fixtures/tree/same-bullet.nooutput.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -81,11 +81,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -157,11 +157,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.commonmark.json b/test/fixtures/tree/stringify-escape.commonmark.json index a087d8c2f..630d3b212 100644 --- a/test/fixtures/tree/stringify-escape.commonmark.json +++ b/test/fixtures/tree/stringify-escape.commonmark.json @@ -441,11 +441,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -585,7 +585,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -725,7 +725,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1508,11 +1508,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1587,7 +1587,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1696,7 +1696,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1771,7 +1771,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1880,7 +1880,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1989,7 +1989,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2209,11 +2209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2302,7 +2302,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2391,7 +2391,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2480,7 +2480,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3379,11 +3379,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3489,7 +3489,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3595,7 +3595,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3701,7 +3701,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.commonmark.pedantic.json b/test/fixtures/tree/stringify-escape.commonmark.pedantic.json index b4fb1524d..d2c716834 100644 --- a/test/fixtures/tree/stringify-escape.commonmark.pedantic.json +++ b/test/fixtures/tree/stringify-escape.commonmark.pedantic.json @@ -547,11 +547,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -691,7 +691,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -831,7 +831,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1614,11 +1614,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1693,7 +1693,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1802,7 +1802,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1877,7 +1877,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1986,7 +1986,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2095,7 +2095,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2333,11 +2333,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2426,7 +2426,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2515,7 +2515,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2604,7 +2604,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3503,11 +3503,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3613,7 +3613,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3719,7 +3719,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3825,7 +3825,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.json b/test/fixtures/tree/stringify-escape.json index 8e88ebbbc..f9eec9d26 100644 --- a/test/fixtures/tree/stringify-escape.json +++ b/test/fixtures/tree/stringify-escape.json @@ -441,11 +441,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -585,7 +585,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -725,7 +725,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1508,11 +1508,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1587,7 +1587,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1696,7 +1696,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1771,7 +1771,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1880,7 +1880,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1989,7 +1989,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2209,11 +2209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2268,7 +2268,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2323,7 +2323,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2412,7 +2412,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3311,11 +3311,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3421,7 +3421,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3476,7 +3476,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3582,7 +3582,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.nogfm.commonmark.json b/test/fixtures/tree/stringify-escape.nogfm.commonmark.json index 557cf886f..19ed30e51 100644 --- a/test/fixtures/tree/stringify-escape.nogfm.commonmark.json +++ b/test/fixtures/tree/stringify-escape.nogfm.commonmark.json @@ -441,11 +441,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -585,7 +585,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -725,7 +725,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1508,11 +1508,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1587,7 +1587,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1696,7 +1696,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1771,7 +1771,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1880,7 +1880,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1989,7 +1989,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2209,11 +2209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2302,7 +2302,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2391,7 +2391,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2480,7 +2480,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3219,11 +3219,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3329,7 +3329,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3435,7 +3435,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3541,7 +3541,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.nogfm.commonmark.pedantic.json b/test/fixtures/tree/stringify-escape.nogfm.commonmark.pedantic.json index 35266f214..a21713033 100644 --- a/test/fixtures/tree/stringify-escape.nogfm.commonmark.pedantic.json +++ b/test/fixtures/tree/stringify-escape.nogfm.commonmark.pedantic.json @@ -547,11 +547,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -691,7 +691,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -831,7 +831,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1614,11 +1614,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1693,7 +1693,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1802,7 +1802,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1877,7 +1877,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1986,7 +1986,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2095,7 +2095,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2333,11 +2333,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2426,7 +2426,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2515,7 +2515,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2604,7 +2604,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3343,11 +3343,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3453,7 +3453,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3559,7 +3559,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3665,7 +3665,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.nogfm.json b/test/fixtures/tree/stringify-escape.nogfm.json index cccf17814..621d188e9 100644 --- a/test/fixtures/tree/stringify-escape.nogfm.json +++ b/test/fixtures/tree/stringify-escape.nogfm.json @@ -441,11 +441,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -585,7 +585,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -725,7 +725,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1508,11 +1508,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1587,7 +1587,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1696,7 +1696,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1771,7 +1771,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1880,7 +1880,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1989,7 +1989,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2209,11 +2209,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2268,7 +2268,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2323,7 +2323,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2412,7 +2412,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2912,11 +2912,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3022,7 +3022,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3077,7 +3077,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3183,7 +3183,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.nogfm.pedantic.json b/test/fixtures/tree/stringify-escape.nogfm.pedantic.json index ce24196b0..d8985af8f 100644 --- a/test/fixtures/tree/stringify-escape.nogfm.pedantic.json +++ b/test/fixtures/tree/stringify-escape.nogfm.pedantic.json @@ -547,11 +547,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -691,7 +691,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -831,7 +831,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1614,11 +1614,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1693,7 +1693,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1802,7 +1802,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1877,7 +1877,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1986,7 +1986,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2095,7 +2095,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2333,11 +2333,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2392,7 +2392,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2447,7 +2447,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2536,7 +2536,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3036,11 +3036,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3146,7 +3146,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3201,7 +3201,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3307,7 +3307,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.output.commonmark.commonmark.json b/test/fixtures/tree/stringify-escape.output.commonmark.commonmark.json index 5c179e318..0b2fd2406 100644 --- a/test/fixtures/tree/stringify-escape.output.commonmark.commonmark.json +++ b/test/fixtures/tree/stringify-escape.output.commonmark.commonmark.json @@ -385,11 +385,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -529,7 +529,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1311,11 +1311,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1390,7 +1390,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1499,7 +1499,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1574,7 +1574,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1683,7 +1683,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1792,7 +1792,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2012,11 +2012,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2105,7 +2105,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3036,11 +3036,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3146,7 +3146,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.output.json b/test/fixtures/tree/stringify-escape.output.json index f6d7a8e05..606460d0c 100644 --- a/test/fixtures/tree/stringify-escape.output.json +++ b/test/fixtures/tree/stringify-escape.output.json @@ -385,11 +385,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -529,7 +529,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1311,11 +1311,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1390,7 +1390,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1499,7 +1499,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1574,7 +1574,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1683,7 +1683,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1792,7 +1792,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2012,11 +2012,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2105,7 +2105,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3036,11 +3036,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3146,7 +3146,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.output.nogfm.commonmark.nogfm.commonmark.json b/test/fixtures/tree/stringify-escape.output.nogfm.commonmark.nogfm.commonmark.json index 32067fc62..60a6b16b8 100644 --- a/test/fixtures/tree/stringify-escape.output.nogfm.commonmark.nogfm.commonmark.json +++ b/test/fixtures/tree/stringify-escape.output.nogfm.commonmark.nogfm.commonmark.json @@ -385,11 +385,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -529,7 +529,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1311,11 +1311,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1390,7 +1390,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1499,7 +1499,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1574,7 +1574,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1683,7 +1683,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1792,7 +1792,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2012,11 +2012,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2071,7 +2071,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2535,11 +2535,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2645,7 +2645,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.output.nogfm.nogfm.json b/test/fixtures/tree/stringify-escape.output.nogfm.nogfm.json index d1ef7a332..29069b84d 100644 --- a/test/fixtures/tree/stringify-escape.output.nogfm.nogfm.json +++ b/test/fixtures/tree/stringify-escape.output.nogfm.nogfm.json @@ -385,11 +385,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -529,7 +529,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1311,11 +1311,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1390,7 +1390,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1499,7 +1499,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1574,7 +1574,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1683,7 +1683,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1792,7 +1792,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2012,11 +2012,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2071,7 +2071,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2535,11 +2535,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2645,7 +2645,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.output.noposition.pedantic.noposition.pedantic.json b/test/fixtures/tree/stringify-escape.output.noposition.pedantic.noposition.pedantic.json index c4d2dfed9..207baceb8 100644 --- a/test/fixtures/tree/stringify-escape.output.noposition.pedantic.noposition.pedantic.json +++ b/test/fixtures/tree/stringify-escape.output.noposition.pedantic.noposition.pedantic.json @@ -147,11 +147,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -187,7 +187,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -384,11 +384,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -411,7 +411,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -442,7 +442,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -465,7 +465,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -496,7 +496,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -527,7 +527,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -590,11 +590,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -618,7 +618,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -850,11 +850,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -882,7 +882,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.output.pedantic.pedantic.json b/test/fixtures/tree/stringify-escape.output.pedantic.pedantic.json index af2dbcd32..870e8fbef 100644 --- a/test/fixtures/tree/stringify-escape.output.pedantic.pedantic.json +++ b/test/fixtures/tree/stringify-escape.output.pedantic.pedantic.json @@ -589,11 +589,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -733,7 +733,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1515,11 +1515,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1594,7 +1594,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1703,7 +1703,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1778,7 +1778,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1887,7 +1887,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1996,7 +1996,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2234,11 +2234,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2327,7 +2327,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3258,11 +3258,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3368,7 +3368,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/stringify-escape.pedantic.json b/test/fixtures/tree/stringify-escape.pedantic.json index bdf1ffef1..cb2781f80 100644 --- a/test/fixtures/tree/stringify-escape.pedantic.json +++ b/test/fixtures/tree/stringify-escape.pedantic.json @@ -547,11 +547,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -691,7 +691,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -831,7 +831,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1614,11 +1614,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1693,7 +1693,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1802,7 +1802,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1877,7 +1877,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1986,7 +1986,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2095,7 +2095,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2333,11 +2333,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2392,7 +2392,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2447,7 +2447,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2536,7 +2536,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3435,11 +3435,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3545,7 +3545,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3600,7 +3600,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3706,7 +3706,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/table-in-list.json b/test/fixtures/tree/table-in-list.json index d7de0fac9..4eafd3c11 100644 --- a/test/fixtures/tree/table-in-list.json +++ b/test/fixtures/tree/table-in-list.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -271,7 +271,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { diff --git a/test/fixtures/tree/table-in-list.nogfm.json b/test/fixtures/tree/table-in-list.nogfm.json index 9fac3a320..7af339f52 100644 --- a/test/fixtures/tree/table-in-list.nogfm.json +++ b/test/fixtures/tree/table-in-list.nogfm.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { @@ -111,7 +111,7 @@ }, { "type": "listItem", - "loose": true, + "spread": true, "checked": null, "children": [ { diff --git a/test/fixtures/tree/tabs-and-spaces.json b/test/fixtures/tree/tabs-and-spaces.json index 8774f9f7e..0421c3651 100644 --- a/test/fixtures/tree/tabs-and-spaces.json +++ b/test/fixtures/tree/tabs-and-spaces.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -71,7 +71,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/tabs.json b/test/fixtures/tree/tabs.json index 8774f9f7e..0421c3651 100644 --- a/test/fixtures/tree/tabs.json +++ b/test/fixtures/tree/tabs.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": true, + "spread": true, "children": [ { "type": "listItem", - "loose": true, + "spread": false, "checked": null, "children": [ { @@ -71,7 +71,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-ordered.json b/test/fixtures/tree/task-list-ordered.json index 0501402e5..86c859831 100644 --- a/test/fixtures/tree/task-list-ordered.json +++ b/test/fixtures/tree/task-list-ordered.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -161,11 +161,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -252,7 +252,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -307,7 +307,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-ordered.nogfm.json b/test/fixtures/tree/task-list-ordered.nogfm.json index 1595e5bc4..2049e2f6d 100644 --- a/test/fixtures/tree/task-list-ordered.nogfm.json +++ b/test/fixtures/tree/task-list-ordered.nogfm.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -101,7 +101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -156,7 +156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -235,11 +235,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -363,7 +363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -455,7 +455,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-ordered.nogfm.pedantic.json b/test/fixtures/tree/task-list-ordered.nogfm.pedantic.json index 1595e5bc4..2049e2f6d 100644 --- a/test/fixtures/tree/task-list-ordered.nogfm.pedantic.json +++ b/test/fixtures/tree/task-list-ordered.nogfm.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -101,7 +101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -156,7 +156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -235,11 +235,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -363,7 +363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -455,7 +455,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-ordered.pedantic.json b/test/fixtures/tree/task-list-ordered.pedantic.json index 0501402e5..86c859831 100644 --- a/test/fixtures/tree/task-list-ordered.pedantic.json +++ b/test/fixtures/tree/task-list-ordered.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -161,11 +161,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -252,7 +252,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -307,7 +307,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-asterisk.json b/test/fixtures/tree/task-list-unordered-asterisk.json index 3a20ea406..3a0a27ff8 100644 --- a/test/fixtures/tree/task-list-unordered-asterisk.json +++ b/test/fixtures/tree/task-list-unordered-asterisk.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -161,11 +161,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -252,7 +252,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -307,7 +307,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-asterisk.nogfm.json b/test/fixtures/tree/task-list-unordered-asterisk.nogfm.json index 78212d025..3f93c5be7 100644 --- a/test/fixtures/tree/task-list-unordered-asterisk.nogfm.json +++ b/test/fixtures/tree/task-list-unordered-asterisk.nogfm.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -101,7 +101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -156,7 +156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -235,11 +235,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -363,7 +363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -455,7 +455,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-asterisk.nogfm.pedantic.json b/test/fixtures/tree/task-list-unordered-asterisk.nogfm.pedantic.json index 2859b0111..2685e5cfb 100644 --- a/test/fixtures/tree/task-list-unordered-asterisk.nogfm.pedantic.json +++ b/test/fixtures/tree/task-list-unordered-asterisk.nogfm.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -101,7 +101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -156,7 +156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -235,11 +235,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -363,7 +363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -455,7 +455,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-asterisk.pedantic.json b/test/fixtures/tree/task-list-unordered-asterisk.pedantic.json index 2ecc9a537..ca3a2372a 100644 --- a/test/fixtures/tree/task-list-unordered-asterisk.pedantic.json +++ b/test/fixtures/tree/task-list-unordered-asterisk.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -161,11 +161,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -252,7 +252,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -307,7 +307,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-dash.json b/test/fixtures/tree/task-list-unordered-dash.json index 3a20ea406..3a0a27ff8 100644 --- a/test/fixtures/tree/task-list-unordered-dash.json +++ b/test/fixtures/tree/task-list-unordered-dash.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -161,11 +161,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -252,7 +252,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -307,7 +307,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-dash.nogfm.json b/test/fixtures/tree/task-list-unordered-dash.nogfm.json index 78212d025..3f93c5be7 100644 --- a/test/fixtures/tree/task-list-unordered-dash.nogfm.json +++ b/test/fixtures/tree/task-list-unordered-dash.nogfm.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -101,7 +101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -156,7 +156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -235,11 +235,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -363,7 +363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -455,7 +455,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-dash.nogfm.pedantic.json b/test/fixtures/tree/task-list-unordered-dash.nogfm.pedantic.json index 2859b0111..2685e5cfb 100644 --- a/test/fixtures/tree/task-list-unordered-dash.nogfm.pedantic.json +++ b/test/fixtures/tree/task-list-unordered-dash.nogfm.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -101,7 +101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -156,7 +156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -235,11 +235,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -363,7 +363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -455,7 +455,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-dash.pedantic.json b/test/fixtures/tree/task-list-unordered-dash.pedantic.json index 2ecc9a537..ca3a2372a 100644 --- a/test/fixtures/tree/task-list-unordered-dash.pedantic.json +++ b/test/fixtures/tree/task-list-unordered-dash.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -161,11 +161,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -252,7 +252,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -307,7 +307,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-plus.json b/test/fixtures/tree/task-list-unordered-plus.json index 3a20ea406..3a0a27ff8 100644 --- a/test/fixtures/tree/task-list-unordered-plus.json +++ b/test/fixtures/tree/task-list-unordered-plus.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -161,11 +161,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -252,7 +252,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -307,7 +307,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-plus.nogfm.json b/test/fixtures/tree/task-list-unordered-plus.nogfm.json index 78212d025..3f93c5be7 100644 --- a/test/fixtures/tree/task-list-unordered-plus.nogfm.json +++ b/test/fixtures/tree/task-list-unordered-plus.nogfm.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -101,7 +101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -156,7 +156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -235,11 +235,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -363,7 +363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -455,7 +455,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-plus.nogfm.pedantic.json b/test/fixtures/tree/task-list-unordered-plus.nogfm.pedantic.json index 2859b0111..2685e5cfb 100644 --- a/test/fixtures/tree/task-list-unordered-plus.nogfm.pedantic.json +++ b/test/fixtures/tree/task-list-unordered-plus.nogfm.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -101,7 +101,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -156,7 +156,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -235,11 +235,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -363,7 +363,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -455,7 +455,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list-unordered-plus.pedantic.json b/test/fixtures/tree/task-list-unordered-plus.pedantic.json index 2ecc9a537..ca3a2372a 100644 --- a/test/fixtures/tree/task-list-unordered-plus.pedantic.json +++ b/test/fixtures/tree/task-list-unordered-plus.pedantic.json @@ -5,11 +5,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -64,7 +64,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -119,7 +119,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -161,11 +161,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -252,7 +252,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -307,7 +307,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list.commonmark.json b/test/fixtures/tree/task-list.commonmark.json index 0c58299e7..d5d7d54a5 100644 --- a/test/fixtures/tree/task-list.commonmark.json +++ b/test/fixtures/tree/task-list.commonmark.json @@ -43,11 +43,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -122,7 +122,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -216,11 +216,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -295,7 +295,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -427,11 +427,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [], "position": { @@ -450,7 +450,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [], "position": { @@ -488,11 +488,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [], "position": { @@ -511,7 +511,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [], "position": { @@ -587,11 +587,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [], "position": { @@ -610,7 +610,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [], "position": { @@ -648,11 +648,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [], "position": { @@ -671,7 +671,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [], "position": { @@ -747,11 +747,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -843,7 +843,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -954,11 +954,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1050,7 +1050,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1199,11 +1199,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1258,7 +1258,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1332,11 +1332,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1391,7 +1391,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1503,11 +1503,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1562,7 +1562,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1636,11 +1636,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1695,7 +1695,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1807,11 +1807,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1850,7 +1850,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1908,11 +1908,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1967,7 +1967,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2079,11 +2079,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2122,7 +2122,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2180,11 +2180,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2223,7 +2223,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2319,11 +2319,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2379,11 +2379,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2439,11 +2439,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2482,7 +2482,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2556,11 +2556,11 @@ "type": "list", "ordered": true, "start": 2, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2670,11 +2670,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2793,11 +2793,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2954,11 +2954,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3067,11 +3067,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3171,7 +3171,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3263,7 +3263,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list.json b/test/fixtures/tree/task-list.json index 0c58299e7..d5d7d54a5 100644 --- a/test/fixtures/tree/task-list.json +++ b/test/fixtures/tree/task-list.json @@ -43,11 +43,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -122,7 +122,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -216,11 +216,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -295,7 +295,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -427,11 +427,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [], "position": { @@ -450,7 +450,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [], "position": { @@ -488,11 +488,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [], "position": { @@ -511,7 +511,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [], "position": { @@ -587,11 +587,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [], "position": { @@ -610,7 +610,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [], "position": { @@ -648,11 +648,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [], "position": { @@ -671,7 +671,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [], "position": { @@ -747,11 +747,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -843,7 +843,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -954,11 +954,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1050,7 +1050,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1199,11 +1199,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1258,7 +1258,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1332,11 +1332,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1391,7 +1391,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1503,11 +1503,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1562,7 +1562,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1636,11 +1636,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1695,7 +1695,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1807,11 +1807,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1850,7 +1850,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -1908,11 +1908,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -1967,7 +1967,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2079,11 +2079,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2122,7 +2122,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2180,11 +2180,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2223,7 +2223,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2319,11 +2319,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2379,11 +2379,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2439,11 +2439,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2482,7 +2482,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": false, "children": [ { @@ -2556,11 +2556,11 @@ "type": "list", "ordered": true, "start": 2, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": true, "children": [ { @@ -2670,11 +2670,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2793,11 +2793,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2954,11 +2954,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3067,11 +3067,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3171,7 +3171,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3263,7 +3263,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list.nogfm.commonmark.json b/test/fixtures/tree/task-list.nogfm.commonmark.json index 594803b30..676646dd2 100644 --- a/test/fixtures/tree/task-list.nogfm.commonmark.json +++ b/test/fixtures/tree/task-list.nogfm.commonmark.json @@ -43,11 +43,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -122,7 +122,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -216,11 +216,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -295,7 +295,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -427,11 +427,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -523,7 +523,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -634,11 +634,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -730,7 +730,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -879,11 +879,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -975,7 +975,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1086,11 +1086,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1182,7 +1182,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1331,11 +1331,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1427,7 +1427,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1538,11 +1538,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1634,7 +1634,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1783,11 +1783,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1879,7 +1879,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1990,11 +1990,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2086,7 +2086,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2235,11 +2235,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2331,7 +2331,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2442,11 +2442,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2538,7 +2538,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2687,11 +2687,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2783,7 +2783,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2894,11 +2894,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2990,7 +2990,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3139,11 +3139,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3235,7 +3235,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3346,11 +3346,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3442,7 +3442,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3591,11 +3591,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3704,11 +3704,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3817,11 +3817,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3913,7 +3913,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4024,11 +4024,11 @@ "type": "list", "ordered": true, "start": 2, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4175,11 +4175,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4298,11 +4298,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4459,11 +4459,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4572,11 +4572,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4676,7 +4676,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4768,7 +4768,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/task-list.nogfm.json b/test/fixtures/tree/task-list.nogfm.json index 594803b30..676646dd2 100644 --- a/test/fixtures/tree/task-list.nogfm.json +++ b/test/fixtures/tree/task-list.nogfm.json @@ -43,11 +43,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -122,7 +122,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -216,11 +216,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -295,7 +295,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -427,11 +427,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -523,7 +523,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -634,11 +634,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -730,7 +730,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -879,11 +879,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -975,7 +975,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1086,11 +1086,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1182,7 +1182,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1331,11 +1331,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1427,7 +1427,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1538,11 +1538,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1634,7 +1634,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1783,11 +1783,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1879,7 +1879,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -1990,11 +1990,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2086,7 +2086,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2235,11 +2235,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2331,7 +2331,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2442,11 +2442,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2538,7 +2538,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2687,11 +2687,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2783,7 +2783,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2894,11 +2894,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -2990,7 +2990,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3139,11 +3139,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3235,7 +3235,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3346,11 +3346,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3442,7 +3442,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3591,11 +3591,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3704,11 +3704,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3817,11 +3817,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -3913,7 +3913,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4024,11 +4024,11 @@ "type": "list", "ordered": true, "start": 2, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4175,11 +4175,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4298,11 +4298,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4459,11 +4459,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4572,11 +4572,11 @@ "type": "list", "ordered": true, "start": 1, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4676,7 +4676,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -4768,7 +4768,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/tidyness.json b/test/fixtures/tree/tidyness.json index 2cdc7e15a..2ac0b4e06 100644 --- a/test/fixtures/tree/tidyness.json +++ b/test/fixtures/tree/tidyness.json @@ -43,11 +43,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -102,7 +102,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -157,7 +157,7 @@ }, { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/toplevel-paragraphs.commonmark.json b/test/fixtures/tree/toplevel-paragraphs.commonmark.json index 714d729f1..9b9aa7e7d 100644 --- a/test/fixtures/tree/toplevel-paragraphs.commonmark.json +++ b/test/fixtures/tree/toplevel-paragraphs.commonmark.json @@ -389,11 +389,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/toplevel-paragraphs.json b/test/fixtures/tree/toplevel-paragraphs.json index 9ec542cac..26baa2af2 100644 --- a/test/fixtures/tree/toplevel-paragraphs.json +++ b/test/fixtures/tree/toplevel-paragraphs.json @@ -421,11 +421,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/toplevel-paragraphs.nogfm.commonmark.json b/test/fixtures/tree/toplevel-paragraphs.nogfm.commonmark.json index a3ec8a571..6072cf348 100644 --- a/test/fixtures/tree/toplevel-paragraphs.nogfm.commonmark.json +++ b/test/fixtures/tree/toplevel-paragraphs.nogfm.commonmark.json @@ -393,11 +393,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/fixtures/tree/tricky-list.json b/test/fixtures/tree/tricky-list.json index 0da353e8f..97a3c45cc 100644 --- a/test/fixtures/tree/tricky-list.json +++ b/test/fixtures/tree/tricky-list.json @@ -110,11 +110,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -291,11 +291,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -472,11 +472,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { @@ -653,11 +653,11 @@ "type": "list", "ordered": false, "start": null, - "loose": false, + "spread": false, "children": [ { "type": "listItem", - "loose": false, + "spread": false, "checked": null, "children": [ { diff --git a/test/remark-stringify.js b/test/remark-stringify.js index 5ff6b63d9..043feade2 100644 --- a/test/remark-stringify.js +++ b/test/remark-stringify.js @@ -229,6 +229,211 @@ test('remark().stringify(ast, file)', function (t) { ); }); + t.test('should support optional list fields', function (st) { + st.equal( + stringify({ + type: 'list', + children: [{ + type: 'listItem', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'alpha'}] + }] + }] + }), + '- alpha', + 'no ordered, start, or spread' + ); + + st.equal( + stringify({ + type: 'list', + start: 2, + children: [{ + type: 'listItem', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'bravo'}] + }] + }] + }), + '- bravo', + 'start; no ordered or spread' + ); + + st.equal( + stringify({ + type: 'list', + spread: true, + children: [ + { + type: 'listItem', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'charlie'}] + }] + }, + { + type: 'listItem', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'delta'}] + }] + } + ] + }), + '- charlie\n\n- delta', + 'spread; no ordered or start' + ); + + st.equal( + stringify({ + type: 'list', + ordered: true, + children: [{ + type: 'listItem', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'echo'}] + }] + }] + }), + '1. echo', + 'ordered; no start or spread' + ); + + st.equal( + stringify({ + type: 'list', + ordered: true, + spread: true, + children: [ + { + type: 'listItem', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'foxtrot'}] + }] + }, + { + type: 'listItem', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'golf'}] + }] + } + ] + }), + '1. foxtrot\n\n2. golf', + 'ordered and spread; no start' + ); + + st.equal( + stringify({ + type: 'list', + ordered: true, + spread: true, + start: 3, + children: [ + { + type: 'listItem', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'hotel'}] + }] + }, + { + type: 'listItem', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'india'}] + }] + } + ] + }), + '3. hotel\n\n4. india', + 'ordered, spread, and start' + ); + + st.end(); + + function stringify(value) { + return String(remark().stringify(value)); + } + }); + + t.test('should support optional list item fields', function (st) { + var children = [ + { + type: 'paragraph', + children: [{type: 'text', value: 'alpha'}] + }, + { + type: 'blockquote', + children: [{ + type: 'paragraph', + children: [{type: 'text', value: 'bravo'}] + }] + } + ]; + + st.equal( + stringify({type: 'listItem', children: children}), + '- alpha\n\n > bravo', + 'no checked or spread' + ); + + st.equal( + stringify({type: 'listItem', checked: true, children: children}), + '- [x] alpha\n\n > bravo', + 'checked; no spread' + ); + + st.equal( + stringify({type: 'listItem', spread: true, children: children}), + '- alpha\n\n > bravo', + 'spread: true; no checked' + ); + + st.equal( + stringify({type: 'listItem', spread: false, children: children}), + '- alpha\n > bravo', + 'spread: false; no checked' + ); + + st.equal( + stringify({type: 'listItem', checked: false, spread: false, children: children}), + '- [ ] alpha\n > bravo', + 'spread and checked' + ); + + st.end(); + + function stringify(value) { + return String(remark().stringify(value)); + } + }); + + t.test('should support empty list items', function (st) { + st.equal( + stringify({type: 'listItem', children: []}), + '-', + 'no checked' + ); + + st.equal( + stringify({type: 'listItem', checked: true, children: []}), + '- [x] ', + 'checked' + ); + + st.end(); + + function stringify(value) { + return String(remark().stringify(value)); + } + }); + t.test('emphasis in pedantic mode should support a variety of contained inline content', function (st) { /* Data-driven tests in the format: [name, input, expected] */ var tests = [