summaryrefslogtreecommitdiffstats
path: root/examples/markdown/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-04 19:07:24 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-04 19:07:24 +0100
commit24cf355e96d8ae6432ca8972214c2c4f31d07b22 (patch)
tree2cd2c8d168bb2c628356767deb41be89f5d90876 /examples/markdown/src/main.rs
parent565599876172b3f56d86b119ae453b5bcd8949e1 (diff)
downloadiced-24cf355e96d8ae6432ca8972214c2c4f31d07b22.tar.gz
iced-24cf355e96d8ae6432ca8972214c2c4f31d07b22.tar.bz2
iced-24cf355e96d8ae6432ca8972214c2c4f31d07b22.zip
Fix documentation of `markdown` and `rich_text`
Diffstat (limited to '')
-rw-r--r--examples/markdown/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/markdown/src/main.rs b/examples/markdown/src/main.rs
index 29625d79..96541342 100644
--- a/examples/markdown/src/main.rs
+++ b/examples/markdown/src/main.rs
@@ -164,11 +164,11 @@ impl Markdown {
};
let preview = markdown::view_with(
+ items,
+ &self.theme,
&MarkdownViewer {
images: &self.images,
},
- &self.theme,
- items,
);
row![