Create markdown widget helpers in iced_widget
This commit is contained in:
parent
aa62fa2ce9
commit
47b7a36f36
7 changed files with 277 additions and 220 deletions
|
|
@ -7,6 +7,7 @@ use crate::core;
|
|||
use crate::core::widget::operation;
|
||||
use crate::core::{Element, Length, Pixels, Widget};
|
||||
use crate::keyed;
|
||||
use crate::markdown::{self};
|
||||
use crate::overlay;
|
||||
use crate::pick_list::{self, PickList};
|
||||
use crate::progress_bar::{self, ProgressBar};
|
||||
|
|
@ -702,6 +703,10 @@ pub fn span<'a, Font>(
|
|||
text::Span::new(text)
|
||||
}
|
||||
|
||||
#[cfg(feature = "markdown")]
|
||||
#[doc(inline)]
|
||||
pub use markdown::view as markdown;
|
||||
|
||||
/// Creates a new [`Checkbox`].
|
||||
///
|
||||
/// [`Checkbox`]: crate::Checkbox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue