summaryrefslogtreecommitdiffstats
path: root/examples/markdown/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/markdown/src/main.rs')
-rw-r--r--examples/markdown/src/main.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/markdown/src/main.rs b/examples/markdown/src/main.rs
index 47fcfc72..44bf57c5 100644
--- a/examples/markdown/src/main.rs
+++ b/examples/markdown/src/main.rs
@@ -64,7 +64,11 @@ impl Markdown {
.padding(10)
.font(Font::MONOSPACE);
- let preview = markdown(&self.items, Message::LinkClicked);
+ let preview = markdown(
+ &self.items,
+ markdown::Settings::default(),
+ Message::LinkClicked,
+ );
row![editor, scrollable(preview).spacing(10).height(Fill)]
.spacing(10)