diff options
| author | Max <me@mkor.je> | 2024-08-09 07:41:01 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-09 07:41:01 +0000 |
| commit | b07607d35e697be3dd5e56945b16afa8103a491e (patch) | |
| tree | 2bd7ceac0b6797c1f156b35a8a21fe68905e00f6 /docs/src | |
| parent | a6a8cdaa28abe22c3a40e7a96d15e5e02e8a445e (diff) | |
Split shorthands into math and markup, add tilde shorthand (#4706)
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/lib.rs b/docs/src/lib.rs index 335d0110..b28111e4 100644 --- a/docs/src/lib.rs +++ b/docs/src/lib.rs @@ -664,8 +664,8 @@ fn symbols_model(resolver: &dyn Resolver, group: &GroupData) -> SymbolsModel { list.push(SymbolModel { name: complete(variant), - markup_shorthand: shorthand(typst::syntax::ast::Shorthand::MARKUP_LIST), - math_shorthand: shorthand(typst::syntax::ast::Shorthand::MATH_LIST), + markup_shorthand: shorthand(typst::syntax::ast::Shorthand::LIST), + math_shorthand: shorthand(typst::syntax::ast::MathShorthand::LIST), codepoint: c.char() as _, accent: typst::math::Accent::combine(c.char()).is_some(), alternates: symbol |
