diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-14 22:33:22 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-14 22:34:43 +0100 |
| commit | 2a86e4db0bb3894d1cc3b94e1a1af31a6cd87b80 (patch) | |
| tree | d5c0954ef779689c40eb9b2f58d477869546ea89 /src/syntax/kind.rs | |
| parent | e50189cfa75d83ea1b74b1dc2cf1fc9c01f8c825 (diff) | |
Reference supplements
Diffstat (limited to 'src/syntax/kind.rs')
| -rw-r--r-- | src/syntax/kind.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/syntax/kind.rs b/src/syntax/kind.rs index 47b5da31..ce3ae744 100644 --- a/src/syntax/kind.rs +++ b/src/syntax/kind.rs @@ -36,8 +36,10 @@ pub enum SyntaxKind { Link, /// A label: `<intro>`. Label, - /// A reference: `@target`. + /// A reference: `@target`, `@target[..]`. Ref, + /// Introduces a reference: `@target`. + RefMarker, /// A section heading: `= Introduction`. Heading, /// Introduces a section heading: `=`, `==`, ... @@ -324,12 +326,14 @@ impl SyntaxKind { Self::Parbreak => "paragraph break", Self::Escape => "escape sequence", Self::Shorthand => "shorthand", + Self::SmartQuote => "smart quote", Self::Strong => "strong content", Self::Emph => "emphasized content", Self::Raw => "raw block", Self::Link => "link", Self::Label => "label", Self::Ref => "reference", + Self::RefMarker => "reference marker", Self::Heading => "heading", Self::HeadingMarker => "heading marker", Self::ListItem => "list item", @@ -358,7 +362,6 @@ impl SyntaxKind { Self::Star => "star", Self::Underscore => "underscore", Self::Dollar => "dollar sign", - Self::SmartQuote => "smart quote", Self::Plus => "plus", Self::Minus => "minus", Self::Slash => "slash", |
