feat: support latex fragment parsing
This commit is contained in:
parent
2aec1768da
commit
4a3dd6aacb
6 changed files with 269 additions and 6 deletions
|
|
@ -195,10 +195,6 @@ const nodes = [
|
|||
struct: "FnRef",
|
||||
kind: ["FN_REF"],
|
||||
},
|
||||
{
|
||||
struct: "LatexEnvironment",
|
||||
kind: ["LATEX_ENVIRONMENT"],
|
||||
},
|
||||
{
|
||||
struct: "Macros",
|
||||
kind: ["MACROS"],
|
||||
|
|
@ -259,6 +255,14 @@ const nodes = [
|
|||
["minute_end", "TIMESTAMP_MINUTE"],
|
||||
],
|
||||
},
|
||||
{
|
||||
struct: "LatexEnvironment",
|
||||
kind: ["LATEX_ENVIRONMENT"],
|
||||
},
|
||||
{
|
||||
struct: "LatexFragment",
|
||||
kind: ["LATEX_FRAGMENT"],
|
||||
},
|
||||
];
|
||||
|
||||
let content = `//! generated file, do not modify it directly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue