ftml 1.30.0

Foundation Text Markup Language - a library to render Wikidot text as HTML
Documentation
{
    "input": "[[*a href=\"https://example.com\" style=\"color: red;\"]]My link[[/a]]",
    "tree": {
        "elements": [
            {
                "element": "container",
                "data": {
                    "type": "paragraph",
                    "attributes": {},
                    "elements": [
                        {
                            "element": "anchor",
                            "data": {
                                "attributes": {
                                    "href": "https://example.com",
                                    "style": "color: red;"
                                },
                                "target": "new-tab",
                                "elements": [
                                    {
                                        "element": "text",
                                        "data": "My"
                                    },
                                    {
                                        "element": "text",
                                        "data": " "
                                    },
                                    {
                                        "element": "text",
                                        "data": "link"
                                    }
                                ]
                            }
                        }
                    ]
                }
            },
            {
                "element": "footnote-block",
                "data": {
                    "title": null,
                    "hide": false
                }
            }
        ],
        "html-blocks": [
        ],
        "code-blocks": [
        ],
        "table-of-contents": [
        ],
        "footnotes": [
        ],
        "bibliographies": [
        ]
    },
    "errors": [
    ]
}