diff options
author | HampusM <hampus@hampusmat.com> | 2023-02-26 22:02:02 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-02-26 22:02:02 +0100 |
commit | 2df4eb37ecf373d04d5a499f31fef3a190e25164 (patch) | |
tree | 567a785ae4885bdcd71e030f9cbf250e7f53937b /src | |
parent | 49b9b754ffee693045ce3650be9eb21f7fae22cc (diff) |
feat: add program listing 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 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!(); |