News for hackers. Stuff that matters.
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 ayewo on Tuesday August 31, 2021 @05:02AM (#28365486)
The author clearly states that it is a super simple project but I didn't fully understand your comment until I viewed the Python script: https://github.com/calganaygun/MDcat/blob/31c9a4eb29c53d764b...

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!

Re:MDcat – Simple Markdown to GitHub styled HTML converter by calganaygun on Tuesday August 31, 2021 @05:13AM (#28365558)
Sorry, I am updating the description. You are right. I am also adding offline support. Thanks for recommendations.
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 calganaygun on Tuesday August 31, 2021 @01:53AM (#28364404)
I needed a simple website for a project. I quickly developed this script. Maybe someone wants or needs to use it in their projects.
Re:MDcat – Simple Markdown to GitHub styled HTML converter by tyingq on Tuesday August 31, 2021 @07:18AM (#28366418)
There's also grip, which works similarly. Maybe some ideas you could implement from there. For example, it supports using your own GitHub credentials.

https://github.com/joeyespo/grip

Re:MDcat – Simple Markdown to GitHub styled HTML converter by hashworks on Tuesday August 31, 2021 @06:33AM (#28366102)
Not to be confused with actual `cat for markdown` https://github.com/lunaryorn/mdcat
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.

https://github.com/stonepresto/atomd

Re:MDcat – Simple Markdown to GitHub styled HTML converter by dreamcompiler on Tuesday August 31, 2021 @01:46PM (#28371144)
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 sjmulder on Tuesday August 31, 2021 @06:29AM (#28366079)
> With GPU terminal emulators

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.

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)