kladd 0.1.0

A weirdly personal markup language
Documentation
---
source: src/lib.rs
expression: ast
---
Document {
    metadata: Some(
        "\nmetadata = things\n",
    ),
    body: [
        Node {
            node: Section(
                [
                    Node {
                        node: Heading {
                            level: 1,
                            body: [
                                Node {
                                    node: Text(
                                        "Header",
                                    ),
                                    attributes: None,
                                },
                            ],
                        },
                        attributes: Some(
                            [
                                Attribute {
                                    name: "some",
                                    value: String(
                                        "value",
                                    ),
                                },
                                Attribute {
                                    name: "other",
                                    value: String(
                                        "value2",
                                    ),
                                },
                            ],
                        ),
                    },
                    Node {
                        node: Paragraph(
                            [
                                Node {
                                    node: Strong(
                                        [
                                            Node {
                                                node: Text(
                                                    "bold ",
                                                ),
                                                attributes: None,
                                            },
                                            Node {
                                                node: Italic(
                                                    [
                                                        Node {
                                                            node: Text(
                                                                "italic",
                                                            ),
                                                            attributes: None,
                                                        },
                                                    ],
                                                ),
                                                attributes: None,
                                            },
                                        ],
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        " ",
                                    ),
                                    attributes: None,
                                },
                            ],
                        ),
                        attributes: None,
                    },
                    Node {
                        node: Paragraph(
                            [
                                Node {
                                    node: Text(
                                        "With some ",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Strong(
                                        [
                                            Node {
                                                node: Text(
                                                    "body",
                                                ),
                                                attributes: None,
                                            },
                                        ],
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        " ",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        "and ",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Italic(
                                        [
                                            Node {
                                                node: Text(
                                                    "italic",
                                                ),
                                                attributes: None,
                                            },
                                        ],
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        " ",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        "content",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        ",",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        " ",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        "and a ",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        "\"",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        "quoted",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        "\"",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        " ",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        "'",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        "text",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        "'",
                                    ),
                                    attributes: None,
                                },
                                Node {
                                    node: Softbreak,
                                    attributes: None,
                                },
                                Node {
                                    node: Text(
                                        " ",
                                    ),
                                    attributes: None,
                                },
                            ],
                        ),
                        attributes: None,
                    },
                ],
            ),
            attributes: None,
        },
    ],
}