An implementation of markdown written in Erlang