diff options
-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 9264dc7..31eff1e 100644 --- a/src/description.rs +++ b/src/description.rs @@ -198,6 +198,9 @@ pub enum ParagraphPart /// Emphasis part. Emphasis(String), + /// Code part. + Code(String), + /// Reference entry citation part. Entry(String), @@ -237,6 +240,7 @@ impl ParagraphPart "function" => Self::Function, "parameter" => Self::Parameter, "emphasis" => Self::Emphasis, + "code" => Self::Code, "citerefentry" => Self::Entry, "variablelist" | "itemizedlist" => |_| { unreachable!(); |