ftml 1.30.0

Foundation Text Markup Language - a library to render Wikidot text as HTML
Documentation
{
    "input": "+ My //header//",
    "tree": {
        "elements": [
            {
                "element": "container",
                "data": {
                    "type": {
                        "header": {
                            "level": 1,
                            "has-toc": true
                        }
                    },
                    "attributes": {},
                    "elements": [
                        {
                            "element": "text",
                            "data": "My"
                        },
                        {
                            "element": "text",
                            "data": " "
                        },
                        {
                            "element": "container",
                            "data": {
                                "type": "italics",
                                "attributes": {},
                                "elements": [
                                    {
                                        "element": "text",
                                        "data": "header"
                                    }
                                ]
                            }
                        }
                    ]
                }
            },
            {
                "element": "footnote-block",
                "data": {
                    "title": null,
                    "hide": false
                }
            }
        ],
        "html-blocks": [
        ],
        "code-blocks": [
        ],
        "table-of-contents": [
            {
                "element": "list",
                "data": {
                    "type": "bullet",
                    "attributes": {},
                    "items": [
                        {
                            "item-type": "elements",
                            "attributes": {},
                            "elements": [
                                {
                                    "element": "link",
                                    "data": {
                                        "type": "table-of-contents",
                                        "link": "#toc0",
                                        "label": {
                                            "text": "My header"
                                        },
                                        "target": null
                                    }
                                }
                            ]
                        }
                    ]
                }
            }
        ],
        "footnotes": [
        ],
        "bibliographies": [
        ]
    },
    "errors": [
    ]
}