SimpleCodeBlock

Type Alias SimpleCodeBlock 

Source
pub type SimpleCodeBlock = CodeBlock<()>;
Expand description

Simple code block without user data (backward compatible)

Aliased Type§

pub struct SimpleCodeBlock {
    pub kind: CodeBlockKind,
    pub literal: String,
    pub user_data: (),
}

Fields§

§kind: CodeBlockKind

Distinguishes indented vs fenced code and stores the info string.

§literal: String

Literal text inside the code block without final newline trimming.

§user_data: ()

User-defined data associated with this code block