[
    {
        "name": "SyntaxHighlight",
        "comment": " Syntax highlighting in Elm.\n\n@docs toBlockHtml, toInlineHtml\n\n\n## Languages\n\nError while parsing should not happen. If it happens, please [open an issue](https://github.com/pablohirafuji/elm-syntax-highlight/issues) with the code that gives the error and the language.\n\n@docs elm, xml, javascript, css\n\n\n## Themes\n\n@docs Theme, useTheme, monokai, github, oneDark\n\n",
        "unions": [
            {
                "name": "Theme",
                "comment": " A theme defines the background and syntax colors.\n",
                "args": [],
                "cases": []
            }
        ],
        "aliases": [],
        "values": [
            {
                "name": "css",
                "comment": " Parse CSS syntax.\n",
                "type": "String -> Result Error (List Line)"
            },
            {
                "name": "elm",
                "comment": " Parse Elm syntax.\n",
                "type": "String -> Result Error (List Line)"
            },
            {
                "name": "github",
                "comment": " GitHub inspired theme.\n",
                "type": "Theme"
            },
            {
                "name": "javascript",
                "comment": " Parse Javascript syntax.\n",
                "type": "String -> Result Error (List Line)"
            },
            {
                "name": "monokai",
                "comment": " Monokai inspired theme.\n",
                "type": "Theme"
            },
            {
                "name": "oneDark",
                "comment": " Atom One Dark inspired theme.\n",
                "type": "Theme"
            },
            {
                "name": "toBlockHtml",
                "comment": " Transform a list of lines into a Html block. The `Maybe Int`\nargument is for showing or not line count and, if so, starting\nfrom what number.\n",
                "type": "Maybe Int -> List Line -> Html msg"
            },
            {
                "name": "toInlineHtml",
                "comment": " Transform a list of lines into inline Html.\n",
                "type": "List Line -> Html msg"
            },
            {
                "name": "useTheme",
                "comment": " Transform a theme into Html. Any highlighted code\nwill be themed according to the chosen `Theme`.\n\nTo preview the themes, check out the [demo](https://pablohirafuji.github.io/elm-syntax-highlight/).\n\nIf you prefer to use CSS external stylesheet, you do **not** need this,\njust copy the theme CSS into your stylesheet.\nAll themes can be found [here](https://github.com/pablohirafuji/elm-syntax-highlight/blob/master/themes.md).\n\n",
                "type": "Theme -> Html msg"
            },
            {
                "name": "xml",
                "comment": " Parse XML syntax.\n",
                "type": "String -> Result Error (List Line)"
            }
        ],
        "binops": []
    },
    {
        "name": "SyntaxHighlight.Line",
        "comment": " A parsed highlighted line.\n\n@docs Line, Fragment, Color, Highlight\n\n\n## Helpers\n\n@docs highlightLines\n\n",
        "unions": [
            {
                "name": "Color",
                "comment": " Possible colors.\n\nThe common uses of the color are the following:\n\n  - Default: Default color\n  - Color1: Comment\n  - Color2: Literal string, attribute value\n  - Color3: Keyword, tag, operator symbol (=+-*/...)\n  - Color4: Keyword, type signature, group symbol ({}(),)\n  - Color5: Function, attribute name\n  - Color6: Literal keyword, number\n  - Color7: Argument, parameter\n\n",
                "args": [],
                "cases": [
                    [
                        "Default",
                        []
                    ],
                    [
                        "Color1",
                        []
                    ],
                    [
                        "Color2",
                        []
                    ],
                    [
                        "Color3",
                        []
                    ],
                    [
                        "Color4",
                        []
                    ],
                    [
                        "Color5",
                        []
                    ],
                    [
                        "Color6",
                        []
                    ],
                    [
                        "Color7",
                        []
                    ]
                ]
            },
            {
                "name": "Highlight",
                "comment": " Highlight type. `Normal` will highlight the line in a way to differentiate it from the rest, like github's yellow background. `Add` will highlight in a manner that gives the ideia of new content added. `Delete` will highlight in a manner that gives the ideia of deleted content. The specific styles will depend on the `Theme` chosen.\n",
                "args": [],
                "cases": [
                    [
                        "Normal",
                        []
                    ],
                    [
                        "Add",
                        []
                    ],
                    [
                        "Delete",
                        []
                    ]
                ]
            }
        ],
        "aliases": [
            {
                "name": "Fragment",
                "comment": " A fragment holds information about the text being styled, the color to apply and if it is emphasis/strong.\n",
                "args": [],
                "type": "{ text : String, color : Color, isEmphasis : Bool, isStrong : Bool }"
            },
            {
                "name": "Line",
                "comment": " A line holds information about its fragments and if is highlighted in any way.\n",
                "args": [],
                "type": "{ fragments : List Fragment, highlight : Maybe Highlight }"
            }
        ],
        "values": [
            {
                "name": "highlightLines",
                "comment": " Highlight lines given a highlight type, start and end index.\nIf no highlight type is given (`Nothing`), it will remove any\nhighlight from that lines.\nNegative indexes are taken starting from the *end* of the list.\n",
                "type": "Maybe Highlight -> Int -> Int -> List Line -> List Line"
            }
        ],
        "binops": []
    }
]