An Expr
presenter is similar to a delaborator but outputs HTML trees instead of syntax, and
the output HTML can contain elements which interact with the original Expr
in some way. We call
interactive outputs with a reference to the original input presentations.
- userName : String
A user-friendly name for this presenter. For example, "LaTeX".
- layoutKind : ProofWidgets.LayoutKind
Whether the output HTML has inline (think something which fits in the space normally occupied by an
Expr
, e.g. LaTeX) or block (think large diagram which needs dedicated space) layout. - present : Lean.Expr → Lean.MetaM ProofWidgets.Html
Instances For
Register an Expr presenter. It must have the type ProofWidgets.ExprPresenter
.
Instances For
Equations
- One or more equations did not get rendered due to their size.
- name : Lean.Name
- userName : String
- html : ProofWidgets.Html
Instances For
Equations
- presentations : Array ProofWidgets.ExprPresentationData
Instances For
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
- name : Lean.Name
Name of the presenter to use.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
This component shows a selection of all known and applicable ProofWidgets.ExprPresenter
s which
are used to render the expression when selected. The one with highest precedence (TODO) is shown by
default.
Equations
- One or more equations did not get rendered due to their size.