@markdoc/markdoc 0.5.0 → 0.5.2
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 +2 -2
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +2 -2
- package/dist/react.js.map +1 -1
- package/dist/src/formatter.d.ts +1 -1
- package/dist/src/formatter.d.ts.map +1 -1
- package/dist/src/renderers/react/react.d.ts +1 -1
- package/dist/src/renderers/react/react.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/formatter.ts +2 -2
- package/src/renderers/react/react.ts +1 -1
- package/src/tokenizer/plugins/comments.test.ts +24 -0
- package/src/tokenizer/plugins/comments.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -8312,7 +8312,7 @@ function block3(state, startLine, endLine, silent) {
|
|
|
8312
8312
|
if (!state.src.startsWith(OPEN2, start))
|
|
8313
8313
|
return false;
|
|
8314
8314
|
const close = state.src.indexOf(CLOSE2, start);
|
|
8315
|
-
if (
|
|
8315
|
+
if (close === -1)
|
|
8316
8316
|
return false;
|
|
8317
8317
|
if (silent)
|
|
8318
8318
|
return true;
|
|
@@ -8328,7 +8328,7 @@ function inline3(state, silent) {
|
|
|
8328
8328
|
if (!state.src.startsWith(OPEN2, state.pos))
|
|
8329
8329
|
return false;
|
|
8330
8330
|
const close = state.src.indexOf(CLOSE2, state.pos);
|
|
8331
|
-
if (
|
|
8331
|
+
if (close === -1)
|
|
8332
8332
|
return false;
|
|
8333
8333
|
if (silent)
|
|
8334
8334
|
return true;
|