diff options
author | 2024-07-21 20:00:02 +0200 | |
---|---|---|
committer | 2024-07-21 20:00:02 +0200 | |
commit | 65b525af7ff2823cfe635c4b26d33aad9068e392 (patch) | |
tree | dbd792192e3cdc90a46c822b73287c1828380eeb /examples/markdown | |
parent | f830454ffad1cf60f1d6e56fe95514af96848a64 (diff) | |
download | iced-65b525af7ff2823cfe635c4b26d33aad9068e392.tar.gz iced-65b525af7ff2823cfe635c4b26d33aad9068e392.tar.bz2 iced-65b525af7ff2823cfe635c4b26d33aad9068e392.zip |
Introduce `markdown::Settings`
Diffstat (limited to 'examples/markdown')
-rw-r--r-- | examples/markdown/src/main.rs | 6 |
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) |