package tyxml-ppx

  1. Overview
  2. Docs
PPX that allows to write TyXML documents with the HTML syntax

Install

Dune Dependency

Authors

Maintainers

Sources

tyxml-4.3.0.tbz
sha256=6e1bd76b184eb8bf43550138fa1e14f03b5761187ff38891179a36bdddbdbfc3
md5=fd834a567f813bf447cab5f4c3a723e2

CHANGES.md.html

4.3.0

  • Dunify This also removes all the deprecated libraries (tyxml.syntax, tyxml.parser) and removes the ocamlfind library tyxml.ppx in favor of tyxml-ppx. (#197 by Drup, Rudi Grinberg and Anton Bachin)

  • Add simplistic indentation for the Format-based printer (#187 by Drup)

  • Allow the ppx to be used for more exotic tyxml instances, such as reactive elements (#200 by Drup)

  • Add Html.of_seq and Svg.of_seq, which allow to easily import HTML parsed with markup in TyXML (#221 by Drup)

Elements and attributes

  • Add Html.txt and Svg.txt as an alias for pcdata (#222 by Drup)

  • Add noopener link types (#198 by Jérôme Vouillon)

  • Slightly relax dt content type (#193 by Anton Bachin)

  • Add touch events (#211 by Malthe Borch)

  • Fix handling of figcaption in the PPX (#219 by Drup)

4.2.0

  • Compatibility with OCaml 4.6.0.

  • The ppx should now be compatible with driver-based workflows. In particular, jbuilder.

  • Future breakage:

  • The two camlp4-based packages (tyxml.syntax and tyxml.parser) are now deprecated and will be removed in the next major version.

  • Introduction of the tyxml-ppx ocamlfind package. Usage of the tyxml.ppx package is discouraged, and it will be removed in the next major version.

  • Various fixes in the Html_sigs.T module (contribution by Fabian Pijcke):

  • Fixed the map element function signature.

  • The elements functions now (almost) all make use of the types defined in Html_types, rather than redefining them.

  • Html_sigs.T.fieldset now takes [< legend] elt wrap as optional argument rather than legend elt wrap.

  • Add basic support for aria-* attributes (contribution by Armaël Guéneau) (see https://www.w3.org/TR/wai-aria-1.1/#states_and_properties)

  • Add support for the role attribute (contribution by Armaël Guéneau) (see https://www.w3.org/TR/role-attribute/)

  • Add support for the minlength form attribute (contribution by Armaël Guéneau) (See https://www.w3.org/TR/html5/forms.html#attr-input-minlength)

4.1.0

  • Uses uutf 1.0 (contribution by Daniel Bunzli)

4.0.1

  • Fix handling of comments in the ppx.

  • Fix printing of utf8 in attributes.

  • Properly flush ppx errors. This bug was causing some blank error messages.

  • Fix handling of whitespaces in