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> =
54
54
NumberListNodeParser ,
55
55
CodeNodeParser ,
56
56
CommandLineNodeParser ,
57
- FormulaNodeParser ,
58
57
BlankNodeParser ,
59
58
DecorationNodeParser ,
59
+ FormulaNodeParser ,
60
60
StrongImageNodeParser ,
61
61
StrongIconNodeParser ,
62
62
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
6
6
"nodes": [
7
7
{
8
8
"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
+ ]
11
33
}
12
34
]
13
35
}
You can’t perform that action at this time.
0 commit comments