From 8574b36595715414f399f8780070589470aad7bf Mon Sep 17 00:00:00 2001 From: Alice Carroll Date: Mon, 7 Jul 2025 10:59:50 +0300 Subject: [PATCH] feat: non-breaking hyphen shorthand Closes #6355 --- crates/typst-syntax/src/ast.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/typst-syntax/src/ast.rs b/crates/typst-syntax/src/ast.rs index 547d53cd8..c51eaeec8 100644 --- a/crates/typst-syntax/src/ast.rs +++ b/crates/typst-syntax/src/ast.rs @@ -595,6 +595,7 @@ impl Shorthand<'_> { ("--", '\u{2013}'), ("---", '\u{2014}'), ("-?", '\u{00AD}'), + ("-!", '\u{2011}'), ]; /// Get the shorthanded character.