summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/description.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/description.rs b/src/description.rs
index ccd95b2..9264dc7 100644
--- a/src/description.rs
+++ b/src/description.rs
@@ -195,6 +195,9 @@ pub enum ParagraphPart
/// <parameter>..</parameter> part.
Parameter(String),
+ /// Emphasis part.
+ Emphasis(String),
+
/// Reference entry citation part.
Entry(String),
@@ -233,6 +236,7 @@ impl ParagraphPart
"constant" => Self::Constant,
"function" => Self::Function,
"parameter" => Self::Parameter,
+ "emphasis" => Self::Emphasis,
"citerefentry" => Self::Entry,
"variablelist" | "itemizedlist" => |_| {
unreachable!();