HepLean Documentation

ProofWidgets.Data.Html

We define a representation of HTML trees together with a JSX-like DSL for writing them.

A HTML tree which may contain widget components.

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

              Interpolates an expression into a JSX attribute literal.

              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

                  Interpolates a collection into a JSX attribute literal. For HTML tags, this should have type Array (String × Json). For ProofWidgets.Components, it can be any structure $t whatsoever: it is interpolated into the component's props using { $t with ... } notation.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Characters not allowed inside JSX plain text.

                    Equations
                    Instances For

                      A plain text literal for JSX (notation for Html.text).

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        def ProofWidgets.Jsx.getJsxText :
                        Lean.TSyntax `ProofWidgets.Jsx.jsxTextString
                        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

                                Interpolates an array of elements into a JSX literal

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For

                                  Interpolates an expression into a JSX literal

                                  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

                                          First delaborate into our non-term TSyntax. Note this means we can't call delab, so we have to add the term annotations ourselves.

                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For

                                            Now wrap our TSyntax _ delaborators into Term elaborators.

                                            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