@markdy/core 0.8.13 → 0.8.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1597,13 +1597,6 @@ function readColonBody(blocks, startIdx, parentIndent, diagnostics, context, hea
|
|
|
1597
1597
|
body.push(block);
|
|
1598
1598
|
i++;
|
|
1599
1599
|
}
|
|
1600
|
-
if (body.length > 0) {
|
|
1601
|
-
diagnostics.push({
|
|
1602
|
-
severity: "warning",
|
|
1603
|
-
message: `${context} body had no indentation; parsed until the next top-level statement (hosts like MDX/JSX often strip indent from template literals)`,
|
|
1604
|
-
line: headerLine
|
|
1605
|
-
});
|
|
1606
|
-
}
|
|
1607
1600
|
return { body, nextIdx: i };
|
|
1608
1601
|
}
|
|
1609
1602
|
function readBody(blocks, startIdx, parentIndent, braceDelimited, diagnostics = [], context = "block", headerLine = 1) {
|
package/package.json
CHANGED