Any term t : α
with a HtmlEval α
instance
can be evaluated in a #html t
command.
This is analogous to how Lean.MetaEval
supports #eval
.
- eval : α → Lean.Elab.Command.CommandElabM Html
Instances
instance
ProofWidgets.instHtmlEvalHtmlOfMonadLiftTCommandElabM
{m : Type → Type u_1}
[MonadLiftT m Lean.Elab.Command.CommandElabM]
:
Equations
Equations
Instances For
@[implemented_by ProofWidgets.HtmlCommand.evalCommandMHtmlUnsafe]
Display a value of type Html
in the infoview.
The input can be a pure value
or a computation in any Lean metaprogramming monad
(e.g. CommandElabM Html
).
Equations
Instances For
Construct a structured message from ProofWidgets HTML.
For the meaning of alt
, see MessageData.ofWidget
.