-
-
Notifications
You must be signed in to change notification settings - Fork 644
Add support for ANSI output format #362
Copy link
Copy link
Closed
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
