HTML Literals #
Throws an informative error when the start and end tag names do not match (up to casing).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Throws an informative error when the element should be void, yet has children.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Display Command #
#html e evaluates the HTML value e and renders it in the infoview.
e must have a type supported by some #html elaborator:
core Lean supports Lean.Html, whereas other packages may support custom HTML types.
This command behaves similarly to #eval;
e may also be a computation in any monad supported by #eval, e.g. IO Html.
Equations
- Lean.Elab.Html.htmlCmd = Lean.ParserDescr.node `Lean.Elab.Html.htmlCmd 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "#html ") (Lean.ParserDescr.cat `term 0))
Instances For
Equations
- One or more equations did not get rendered due to their size.