File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ export const convertToNodes: ReturnType<typeof combineNodeParsers> =
5454 NumberListNodeParser ,
5555 CodeNodeParser ,
5656 CommandLineNodeParser ,
57- FormulaNodeParser ,
5857 BlankNodeParser ,
5958 DecorationNodeParser ,
59+ FormulaNodeParser ,
6060 StrongImageNodeParser ,
6161 StrongIconNodeParser ,
6262 StrongNodeParser ,
Original file line number Diff line number Diff line change @@ -6,8 +6,30 @@ exports[`formula > Formula followed immediately by a decoration notation with tr
66 "nodes": [
77 {
88 "type": "formula",
9- "raw": "[$ 1+1=2][. [link] ]",
10- "formula": "1+1=2][. [link]"
9+ "raw": "[$ 1+1=2]",
10+ "formula": "1+1=2"
11+ },
12+ {
13+ "type": "decoration",
14+ "raw": "[. [link] ]",
15+ "rawDecos": ".",
16+ "decos": [
17+ "."
18+ ],
19+ "nodes": [
20+ {
21+ "type": "link",
22+ "raw": "[link]",
23+ "pathType": "relative",
24+ "href": "link",
25+ "content": ""
26+ },
27+ {
28+ "type": "plain",
29+ "raw": " ",
30+ "text": " "
31+ }
32+ ]
1133 }
1234 ]
1335 }
You can’t perform that action at this time.
0 commit comments