Added markdown docs and identified a bug.

This commit is contained in:
Samuel Guerra 2024-01-19 16:57:48 -03:00
parent 99415c0160
commit 1b006d4ce4
3 changed files with 18 additions and 0 deletions

View File

@ -1,5 +1,9 @@
* Review doc mentions of view-process.
# Markdown
* Does not support paragraph in list items.
# Documentation
* Add build dependencies for each operating system on the main `README.md`.

View File

@ -15,6 +15,8 @@ Sample of other blocks items:
Unordered lists:
* Item 1
Is a paragraph item.
* Item 2
* Item 3

View File

@ -1,5 +1,17 @@
//! Markdown widget, properties and types.
//!
//! This widget displays [CommonMark] text, without support for HTML code yet .
//!
//! [CommonMark]: https://commonmark.org/
//!
//! ```
//! # let _scope = zero_ui::APP.defaults(); let _ =
//! zero_ui::markdown::Markdown! {
//! txt = "# Title\n\n- List item 1.\n- List item 2.";
//! }
//! # ;
//! ```
//!
//! # Full API
//!
//! See [`zero_ui_wgt_markdown`] for the full widget API.