diff options
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!(); |