@[instance_reducible]
Equations
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
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 ProofWidgets.Html
Instances
@[instance_reducible]
Equations
- ProofWidgets.instHtmlEvalHtml = { eval := fun (ht : ProofWidgets.Html) => pure ht }
@[instance_reducible]
instance ProofWidgets.instHtmlEvalHtmlOfMonadLiftTCommandElabM {m : Type → Type u_1} [MonadLiftT m Lean.Elab.Command.CommandElabM] :
Equations
@[instance_reducible]
Equations
@[instance_reducible]
Equations
- ProofWidgets.instHtmlEvalMetaMHtml = { eval := fun (x : Lean.MetaM ProofWidgets.Html) => Lean.Elab.Command.liftTermElabM (liftM x) }
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
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 ProofWidgets.Html).
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
Construct a structured message from ProofWidgets HTML.
For the meaning of alt, see MessageData.ofWidget.
Equations
- Lean.MessageData.ofHtml h alt = Lean.MessageData.ofComponent ProofWidgets.HtmlDisplay { html := h } alt