Combining ocamlformat & refmt

@dbuenzli Do you think this approach could be used to implement runnable examples as well? One nice benefit of using attributes is the that the content has to be valid OCaml (ie, it’s not just a string) and the text editors will apply syntax highlighting/linting to it.

1 Like