notedown_ast 0.14.8

Notedown Abstract Syntax Tree
Documentation
use super::*;

#[derive(Clone, Debug, Eq, PartialEq)]
pub enum NormalCommandKind {
    OneLine,
    MultiLine,
}

/// ```md
/// \cmd[][](): args
/// ```
/// ```md
/// \cmd(
///     arg = 1
/// )
/// ```
#[derive(Clone, Eq, PartialEq)]
pub struct NormalCommand {
    pub cmd: String,
    pub kind: NormalCommandKind,
    pub options: CommandOptions,
    pub pattern: CommandPattern,
    pub body: Literal<String>,
}