diff options
Diffstat (limited to 'src/eval/library.rs')
| -rw-r--r-- | src/eval/library.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eval/library.rs b/src/eval/library.rs index 75787348..c37c16fd 100644 --- a/src/eval/library.rs +++ b/src/eval/library.rs @@ -55,6 +55,8 @@ pub struct LangItems { pub emph: fn(body: Content) -> Content, /// Raw text with optional syntax highlighting: `` `...` ``. pub raw: fn(text: EcoString, tag: Option<EcoString>, block: bool) -> Content, + /// The language names and tags supported by raw text. + pub raw_languages: fn() -> Vec<(&'static str, Vec<&'static str>)>, /// A hyperlink: `https://typst.org`. pub link: fn(url: EcoString) -> Content, /// A reference: `@target`. |
