This module defines:
- a representation of HTML trees
- together with a JSX-like DSL for writing them
- and widget support for visualizing any type as HTML.
@[implicit_reducible]
Equations
- DocGen4.instReprHtml = { reprPrec := DocGen4.instReprHtml.repr }
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- DocGen4.instFromJsonHtml = { fromJson? := DocGen4.instFromJsonHtml.fromJson }
@[implicit_reducible]
Equations
- DocGen4.instToJsonHtml = { toJson := DocGen4.instToJsonHtml.toJson }
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- DocGen4.Html.escape.subst '&' = some "&"
- DocGen4.Html.escape.subst '<' = some "<"
- DocGen4.Html.escape.subst '>' = some ">"
- DocGen4.Html.escape.subst '\"' = some """
- DocGen4.Html.escape.subst a✝ = none
Instances For
Equations
- html.toString = html.toStringAux.trimAsciiEnd.copy
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- DocGen4.Jsx.jsxAttr = Lean.ParserDescr.nodeWithAntiquot "jsxAttr" `DocGen4.Jsx.jsxAttr (Lean.ParserDescr.binary `orelse DocGen4.Jsx.jsxSimpleAttr DocGen4.Jsx.jsxAttrSpread)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- DocGen4.Jsx.jsxChild_ = Lean.ParserDescr.node `DocGen4.Jsx.jsxChild_ 1022 (Lean.ParserDescr.parser `DocGen4.Jsx.jsxText)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- DocGen4.Jsx.jsxChild__1 = Lean.ParserDescr.node `DocGen4.Jsx.jsxChild__1 1022 (Lean.ParserDescr.cat `jsxElement 0)
Instances For
Equations
- DocGen4.Jsx.term_ = Lean.ParserDescr.node `DocGen4.Jsx.term_ 1024 (Lean.ParserDescr.cat `jsxElement 0)
Instances For
def
DocGen4.Jsx.translateAttrs
(attrs : Array (Lean.TSyntax `DocGen4.Jsx.jsxAttr))
:
Lean.MacroM (Lean.TSyntax `term)
Equations
- One or more equations did not get rendered due to their size.
Instances For
A type which implements ToHtmlFormat will be visualized
as the resulting HTML in editors which support it.
- formatHtml : α → Html