aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-10-20 13:35:38 +0200
committerPolesznyák Márk <contact@pml68.dev>2025-10-20 13:36:22 +0200
commit6107291a672ffc912d2cfae9ffa33dcfc7b50399 (patch)
treea266c6d8f21490e4899fee905df1534a99068bd2 /src
parentci(doc): build docs with (diff)
downloadiced_selection-6107291a672ffc912d2cfae9ffa33dcfc7b50399.tar.gz
feat: add `markdown` example
Diffstat (limited to '')
-rw-r--r--src/markdown.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/markdown.rs b/src/markdown.rs
index a3c939a..3083d3c 100644
--- a/src/markdown.rs
+++ b/src/markdown.rs
@@ -1,12 +1,9 @@
//! A custom markdown viewer and its corresponding functions.
-//!
-//! To be used with [`view_with`]
-//!
-//! [`view_with`]: iced_widget::markdown::view_with
use iced_widget::graphics::text::Paragraph;
use iced_widget::markdown::{
- Catalog, HeadingLevel, Item, Settings, Text, Url, Viewer, view_with,
+ Catalog, HeadingLevel, Item, Settings, Text, Viewer, view_with,
};
+pub use iced_widget::markdown::{Content, Url, parse};
use iced_widget::{column, container, row, scrollable};
use crate::core::Font;