An open API service indexing awesome lists of open source software.

https://github.com/lemaetech/pp_html

[Unreleased] Ocaml library to pretty print/format HTML5. See notes in README.
https://github.com/lemaetech/pp_html

formatter html5 pretty-printer

Last synced: 2 months ago
JSON representation

[Unreleased] Ocaml library to pretty print/format HTML5. See notes in README.

Awesome Lists containing this project

README

          

## Pretty-printer, formatter for HTML5 (Unreleased and not production ready)

Note - The parser hasn't been validated against HTML5 RFC.

## Example
```ocaml
let () =
let html =
{|




Hello World!



|} in
Pp_html.parse html
|> Pp_html.pp ~indent:4 Format.std_formatter
;;
```
The above code produces the following formatted HTML5.
```html







Hello World!





```