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 e436e40..7761f7b 100644 --- a/src/description.rs +++ b/src/description.rs @@ -204,6 +204,9 @@ pub enum ParagraphPart /// Inline equation part. InlineEquation(String), + /// Program listing part. + ProgramListing(String), + /// Reference entry citation part. Entry(String), @@ -245,6 +248,7 @@ impl ParagraphPart "emphasis" => Self::Emphasis, "code" => Self::Code, "inlineequation" => Self::InlineEquation, + "programlisting" => Self::ProgramListing, "citerefentry" => Self::Entry, "variablelist" | "itemizedlist" => |_| { unreachable!(); |