zng/
markdown.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! Markdown widget, properties and other types.
//!
//! This widget displays [CommonMark] text, without support for HTML code yet .
//!
//! [CommonMark]: https://commonmark.org/
//!
//! ```
//! # let _scope = zng::APP.defaults(); let _ =
//! zng::markdown::Markdown! {
//!     txt = "# Title\n\n- List item 1.\n- List item 2.";
//! }
//! # ;
//! ```
//!
//! # Full API
//!
//! See [`zng_wgt_markdown`] for the full widget API.

pub use zng_wgt_markdown::{
    anchor, block_quote_fn, code_block_fn, code_inline_fn, footnote_def_fn, footnote_ref_fn, heading_anchor, heading_fn, image_fn,
    image_resolver, link_fn, link_resolver, link_scroll_mode, list_fn, list_item_bullet_fn, list_item_fn, on_link, on_pre_link, panel_fn,
    paragraph_fn, rule_fn, table_fn, text_fn, BlockQuoteFnArgs, CodeBlockFnArgs, CodeInlineFnArgs, FootnoteDefFnArgs, FootnoteRefFnArgs,
    HeadingFnArgs, HeadingLevel, ImageFnArgs, ImageResolver, LinkArgs, LinkFnArgs, LinkResolver, ListFnArgs, ListItemBulletFnArgs,
    ListItemFnArgs, Markdown, MarkdownStyle, PanelFnArgs, ParagraphFnArgs, RuleFnArgs, TableCellFnArgs, TableFnArgs, TextFnArgs,
    WidgetInfoExt, LINK_EVENT,
};