summaryrefslogtreecommitdiff
path: root/docs/src/lib.rs
diff options
context:
space:
mode:
authorMax <me@mkor.je>2024-08-09 07:41:01 +0000
committerGitHub <noreply@github.com>2024-08-09 07:41:01 +0000
commitb07607d35e697be3dd5e56945b16afa8103a491e (patch)
tree2bd7ceac0b6797c1f156b35a8a21fe68905e00f6 /docs/src/lib.rs
parenta6a8cdaa28abe22c3a40e7a96d15e5e02e8a445e (diff)
Split shorthands into math and markup, add tilde shorthand (#4706)
Diffstat (limited to 'docs/src/lib.rs')
-rw-r--r--docs/src/lib.rs4
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