ocaml / omd

extensible Markdown library and tool in "pure OCaml"
ISC License
156 stars 45 forks source link

Expose function Html.to_plain_text #299

Open cuihtlauac opened 1 year ago

cuihtlauac commented 1 year ago

In order to add id attributes, ocaml/ocaml.org has duplicated the function Html.to_plain_text, see: https://github.com/ocaml/ocaml.org/blob/main/tool/ood-gen/lib/tutorial.ml#L28

Therefore, it seems to makes sense to expose this function publicly.