Re:MDcat – Simple Markdown to GitHub styled HTML converter
by JNRowe on Tuesday August 31, 2021 @02:11AM
(#28364491)
A little warning in the README that it is going to send your file to GitHub might be prudent. I'm sure I'm not the only one who would be expecting it to be rendering the markdown locally.
Re:MDcat – Simple Markdown to GitHub styled HTML converter
by JNRowe on Tuesday August 31, 2021 @05:17AM
(#28365587)
Ick, my bad. My toplevel comment could - and should - have been far more constructive. The updated tagline in the repo is a big improvement, good work!
Re:MDcat – Simple Markdown to GitHub styled HTML converter
by stonepresto on Tuesday August 31, 2021 @07:11AM
(#28366352)
I like it, simple solution. I wanted to do stuff locally for a project I’m working on, so I built an MD lexer and HTML parser. The downside is I have to implement everything manually, but the upside is I have atomic control over every token, and writing parsers for another markup language is simple.
Re:MDcat – Simple Markdown to GitHub styled HTML converter
by encryptluks2 on Tuesday August 31, 2021 @05:50AM
(#28365831)
With GPU terminal emulators... I would like to see the ability to actually render a Markdown document in the terminal. Does anything like this exist yet?
Re:MDcat – Simple Markdown to GitHub styled HTML converter
by ebfe1 on Tuesday August 31, 2021 @06:01AM
(#28365907)
Not sure what you meant with gpu terminal emulator but i use consolemd https://github.com/kneufeld/consolemd to render markdown for terminal and it works really well.. i even built my cheatsheet site with it using simple bashscript (eg: curl https://ch.ebfe.pw/nix/xargs)
I kinda agree that they could improve the README to mention use of the GitHub API:
A super simple script which uses the GitHub API to convert your markdown files to GitHub styled HTML site.
Nice project!
https://github.com/joeyespo/grip
https://github.com/stonepresto/atomd
https://gist.github.com/evertton/4133083
It seems like something like inline postscript rendering makes sense for things in a terminal - it's text, vector based, versatile.
Then Markdown or man/mdoc are easily rendered.