Open bobot opened 3 years ago
I can't speak for @avsm but I think a PR in this direction would be more than welcome :)) I have a PR open on ocaml-yaml to add functions for building simple yaml types which sounds like it might be useful https://github.com/avsm/ocaml-yaml/pull/43
The one thing I've always struggled with when trying to reproduce blog posts from Jekyll_format
has been the fields section. I often want it in the more common yaml format (i.e. without {}
for objects etc.) and right now afaict the pretty printer just produces JSON (Ezjsonm.value_to_string
). It might be nice to make the format somewhat customisable to the end-user ?
@patricoferris can definitely speak for me, as a co-maintainer of this repository now ;-) A PR to build values would be very welcome.
Is it intended to have only parsing function? The module
Jekyll_format
could have function for building values. Since it already have pretty printers it would allow to produce blog post. Are PR welcome in this direction?