Currently, there is man output format (-t, --to). It can be viewed using something like
$ cmark -t man < README.md | man -l -
Unfortunately, produced output is absolutely unreadable, unless it follows closely man pages conventions, eg, declares all required sections (NAME, SYNOPSIS, etc). This is very unfortunate situation when most of README's you're reading is from public git repositories.
However, displaying nicely formatted, colored Markdown in terminal is possible, using ANSI "formatting" sequences. Here is example of such representation:

(Colors are a bit weird, but this is just illustration)
So, it would be nice to have ANSI as supported output format. What do you think?
Currently, there is
manoutput format (-t, --to). It can be viewed using something like$ cmark -t man < README.md | man -l -Unfortunately, produced output is absolutely unreadable, unless it follows closely man pages conventions, eg, declares all required sections (
NAME,SYNOPSIS, etc). This is very unfortunate situation when most of README's you're reading is from public git repositories.However, displaying nicely formatted, colored Markdown in terminal is possible, using ANSI "formatting" sequences. Here is example of such representation:
(Colors are a bit weird, but this is just illustration)
So, it would be nice to have ANSI as supported output format. What do you think?