a (hopefully efficient) markdown frontend in simple OCaml (no external dependencies)