diff options
Diffstat (limited to 'src/eval/content.rs')
| -rw-r--r-- | src/eval/content.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/eval/content.rs b/src/eval/content.rs index 5f8c5861..1cdd4bb0 100644 --- a/src/eval/content.rs +++ b/src/eval/content.rs @@ -13,7 +13,7 @@ use crate::diag::StrResult; use crate::library::layout::{FlowChild, FlowNode, PageNode, PlaceNode, Spacing}; use crate::library::prelude::*; use crate::library::structure::{ListItem, ListKind, ListNode, ORDERED, UNORDERED}; -use crate::library::text::{DecoNode, ParChild, ParNode, TextNode, UNDERLINE}; +use crate::library::text::{DecoNode, ParChild, ParNode, UNDERLINE}; use crate::util::EcoString; /// Composable representation of styled content. @@ -133,11 +133,6 @@ impl Content { Self::Styled(Arc::new((self, styles))) } - /// Style this content in monospace. - pub fn monospaced(self) -> Self { - self.styled(TextNode::MONOSPACED, true) - } - /// Underline this content. pub fn underlined(self) -> Self { Self::show(DecoNode::<UNDERLINE>(self)) |
