mirror of
https://github.com/typst/typst
synced 2025-07-27 06:17:53 +08:00
parent
e0eaf269d4
commit
3a96fe70d8
@ -131,7 +131,7 @@ impl<'a> HeadingNode<'a> {
|
|||||||
// Prepend the numbering to title if it exists
|
// Prepend the numbering to title if it exists
|
||||||
let title = match &self.element.numbering_displayed {
|
let title = match &self.element.numbering_displayed {
|
||||||
// The space should be a `h(0.3em)`, but only plain-texts are supported here.
|
// The space should be a `h(0.3em)`, but only plain-texts are supported here.
|
||||||
Some(ref num) => format!("{num} {title}"),
|
Some(num) => format!("{num} {title}"),
|
||||||
None => title,
|
None => title,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user