ftml 1.30.0

Foundation Text Markup Language - a library to render Wikidot text as HTML
Documentation
{
    "input": "[[include component:fruit class = box | apple=1 | banana = 2]]",
    "tree": {
        "elements": [
            {
                "element": "container",
                "data": {
                    "type": "div",
                    "attributes": {
                        "class": "box ",
                        "id": "fruit"
                    },
                    "elements": [
                        {
                            "element": "container",
                            "data": {
                                "type": "paragraph",
                                "attributes": {},
                                "elements": [
                                    {
                                        "element": "text",
                                        "data": "  "
                                    }
                                ]
                            }
                        },
                        {
                            "element": "list",
                            "data": {
                                "type": "bullet",
                                "attributes": {},
                                "items": [
                                    {
                                        "item-type": "elements",
                                        "attributes": {},
                                        "elements": [
                                            {
                                                "element": "text",
                                                "data": "1"
                                            },
                                            {
                                                "element": "text",
                                                "data": "  "
                                            }
                                        ]
                                    },
                                    {
                                        "item-type": "elements",
                                        "attributes": {},
                                        "elements": [
                                            {
                                                "element": "text",
                                                "data": "2"
                                            },
                                            {
                                                "element": "text",
                                                "data": " "
                                            }
                                        ]
                                    }
                                ]
                            }
                        }
                    ]
                }
            },
            {
                "element": "footnote-block",
                "data": {
                    "title": null,
                    "hide": false
                }
            }
        ],
        "html-blocks": [
        ],
        "code-blocks": [
        ],
        "table-of-contents": [
        ],
        "footnotes": [
        ],
        "bibliographies": [
        ]
            },
    "errors": [
    ]
}