From b07607d35e697be3dd5e56945b16afa8103a491e Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 9 Aug 2024 07:41:01 +0000 Subject: Split shorthands into math and markup, add tilde shorthand (#4706) --- docs/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3