From 02dc29d18a7b67edf0eaa5d125be22eec6cfebb7 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 6 Feb 2020 11:15:48 +0100 Subject: =?UTF-8?q?Highlight=20bold=20/=20italic=20/=20monospace=20?= =?UTF-8?q?=F0=9F=8E=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/syntax/mod.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/syntax/mod.rs') diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs index 8596a618..620a929e 100644 --- a/src/syntax/mod.rs +++ b/src/syntax/mod.rs @@ -100,7 +100,6 @@ pub enum Decoration { /// ^^^ /// ``` ValidFuncName, - /// An invalid function name: /// ```typst /// [blabla] @@ -114,6 +113,13 @@ pub enum Decoration { /// ^^^^^ /// ``` ArgumentKey, + + /// Italic. + Italic, + /// Bold. + Bold, + /// Monospace. + Monospace, } impl dyn Model { -- cgit v1.2.3