diff options
author | HampusM <hampus@hampusmat.com> | 2023-03-04 14:02:36 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-03-04 14:02:36 +0100 |
commit | dcf34eff5651294d7c579431143b8638fbe338df (patch) | |
tree | d7cb5e4165cbd42935812f27ee90b840a13df001 /src | |
parent | d3868aca9f6bc45dcc11f78ddefa40bcc4af8bbf (diff) |
feat: add superscript support
Diffstat (limited to 'src')
-rw-r--r-- | src/description.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/description.rs b/src/description.rs index 3a5b26f..92af9c1 100644 --- a/src/description.rs +++ b/src/description.rs @@ -283,6 +283,9 @@ pub enum ParagraphPart /// Informal equation part. InformalEquation(String), + + /// Superscript part. + Superscript(String), } impl FromElements for ParagraphPart @@ -318,6 +321,7 @@ impl ParagraphPart "inlineequation" => Self::InlineEquation, "programlisting" => Self::ProgramListing, "citerefentry" => Self::Entry, + "superscript" => Self::Superscript, "variablelist" | "itemizedlist" | "informaltable" | "para" | "footnote" | "table" | "informalequation" => |_| { unreachable!(); |