Open laoshaw opened 1 year ago
Can you explain what feature would you like? What markdown text would result in what HTML text?
Note that we stick pretty tightly to CommonMark specification, which I believe does not support and ANSI color syntax.
would like to convert markdown(commonmark is perfectly fine) to ansi-color output inside a terminal, e.g. dartless my.md can render markdown file with color for me to read at command line. dartless is a less command alternative written in dart, something like bat in rust, that I want to write. Thanks.
I see. Sorry we don't support anything like this. We intend to support a public, stable, syntax tree for Markdown nodes. Then you could, for example, render that tree as ANSI codes. https://github.com/dart-lang/markdown/issues/369
this converts to html like golang's chroma,which is based off pygmentize,can this package support colors in terminal programs too?