From 6107291a672ffc912d2cfae9ffa33dcfc7b50399 Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Mon, 20 Oct 2025 13:35:38 +0200 Subject: feat: add `markdown` example --- src/markdown.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/markdown.rs') 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; -- cgit v1.2.3