euv-docs 0.46.0

Cross-platform documentation viewer and static site generator powered by euv and euv-ui.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Top-level Markdown body segment distinguishing plain Markdown from VuePress `:::` callout blocks.
#[derive(Clone, Debug, Eq, PartialEq)]
pub(crate) enum BodySegment {
    /// Standard Markdown chunk rendered directly through `pulldown_cmark`.
    Markdown(String),
    /// Custom callout or expandable `<details>` container block.
    Callout {
        /// Normalized callout kind (`tip`, `warning`, `danger`, `info`, `note`, or `details`).
        kind: String,
        /// Display header or summary title for the callout.
        title: String,
        /// Inner Markdown body rendered inside the container.
        body: String,
    },
}