sketchmark 0.1.8 → 0.2.0
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/README.md +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/parser/index.d.ts.map +1 -1
- package/dist/sketchmark.iife.js +3 -0
- package/package.json +1 -1
- package/dist/share/encrypted.d.ts +0 -11
- package/dist/share/encrypted.d.ts.map +0 -1
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -814,6 +814,8 @@ function parse(src) {
|
|
|
814
814
|
skipNL();
|
|
815
815
|
while (cur().type !== "EOF" && cur().value !== "end") {
|
|
816
816
|
skipNL();
|
|
817
|
+
if (cur().type === "RBRACE")
|
|
818
|
+
break;
|
|
817
819
|
const v = cur().value;
|
|
818
820
|
if (v === "data") {
|
|
819
821
|
dataRows = parseDataArray();
|
|
@@ -834,6 +836,7 @@ function parse(src) {
|
|
|
834
836
|
v === "config" || // ← ADD
|
|
835
837
|
v === "theme" || // ← ADD
|
|
836
838
|
v === "style" ||
|
|
839
|
+
v === "markdown" ||
|
|
837
840
|
CHART_TYPES.includes(v)) {
|
|
838
841
|
break;
|
|
839
842
|
}
|