Is it possible to include inline html in ocaml documentation (odoc)?

I have found no markups to include html literally in ocaml source code documentation. Is it not possible or have I just not yet found the way. E.g. include svg graphics etc.

Thanks for any hint.


Hi @hbr,

I think it can be achieved with {%html: <p>foo</p> %} see for example a test case in odoc and the library Vg (and rendered in Vg’s docs).

1 Like

Thanks for the hint. I don’t know why I haven’t found it by myself.