markdown_dx/options.rs
1use dioxus::prelude::*;
2
3#[derive(Debug, PartialEq, Clone, Default, Props)]
4pub struct Options {
5 /// Disable included css
6 #[props(default)]
7 pub disable_default_theme: bool,
8
9 /// Enable the numbering of Headings
10 #[props(default)]
11 pub enable_heading_enumeration: bool,
12
13 /// Include a header configured with
14 /// frontmatter Toml:
15 /// - author: String
16 /// - date: DateTime
17 /// - title: String
18 #[props(default)]
19 pub include_frontmatter_header: bool,
20}