tyxml icon indicating copy to clipboard operation
tyxml copied to clipboard

Build valid HTML and SVG documents

Results 63 tyxml issues
Sort by recently updated
recently updated
newest added

Here is an example of something that doesn't work: ``` ocaml let mytitle = [%html5 "A Fabulous Web Page" ] let mypage = [%html5 " "mytitle" " ] ``` Error...

enhancement
syntax extension

Consistency is not W3C's strong point, but it's made worse in tyxml. The main pain point is dashes, since they are not valid in ocaml's identifiers. So a more formal...

html & svg standard
breaking

While working with the ppx, I noticed something ... strange. ``` ocaml # let x = Html5.Xml.W.nil () ;; val x : '_a list = [] # let x :...

bug
typing

Currently, `Xml_iter` is very crude and not very used. I would like to both improve the functionality and deprecate the current interface. We can do that by providing a way...

enhancement

I think it would be interesting to be able to put several class attributes. ``` let popup ?(a = []) content = let box = D.div ~a:(a_class ["popup"]::a) content in...

enhancement

To avoid the warning about deprecated Node.js 16 actions. See https://github.com/ocsigen/tyxml/actions/runs/8134818335.

Consider the following OCaml file: ```ocaml open Tyxml let%svg test = {| |} (* Notice the space between the opening and closing of the g tag. *) ``` The content...