diff options
Diffstat (limited to 'src/render/markdown.rs')
| -rw-r--r-- | src/render/markdown.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/markdown.rs b/src/render/markdown.rs index 8513a43..8ae0a09 100644 --- a/src/render/markdown.rs +++ b/src/render/markdown.rs @@ -71,6 +71,10 @@ impl MarkdownRender { ) } + pub(crate) const fn wrap_width(&self) -> Option<u16> { + self.wrap_width + } + pub fn render(&mut self, text: &str) -> String { text.split('\n') .map(|line| self.render_line_mut(line)) |
