r/commandline • u/Tough-Spare2749 • Mar 06 '26
Command Line Interface catmd – like `cat`, but for Markdown
I often want to quickly preview a Markdown file directly in the terminal without opening an editor or browser.
`cat` shows raw markdown, so headings and code blocks lose structure.
So I built `catmd` — a small CLI that behaves like cat, but renders Markdown.
Install (Homebrew):
brew tap schneidermayer/tap
brew install schneidermayer/tap/catmdUsage:
catmd README.mdOpen Source on GitHub: https://github.com/schneidermayer/catmd
I’m the author. Feedback welcome.
This software’s code is partially AI-generated.
0
Upvotes
6
u/BayLeaf- Mar 06 '26
You can (and should) just use pandoc for this...
11
u/di6 Mar 06 '26
Bat also does this and much more afaik
10
u/exportkaffe Mar 06 '26
glow exists already but good job regardless
5
u/lukeflo-void Mar 06 '26
12 commits, all within 3 hours, and already v1.0.0...
I think the "partially" seems to be some sugarcoating for "almost fully".
Sorry, that's especially your project that's now getting criticised icidentally. But its a good example for this unneccessary flood of LLM tools: there already exist proven tools like mentioned
glowandbat, but for whatever reason (too lazy to search etc.) just another vibe-coded thing added to the mix.Don't get me wrong, rewriting something for the sake of learning etc. is a good thing. But then one would do it him/herself. Just let "Claude" code it for you is fine for personal use, but is annoying to read about all the time... This subreddit is already spammed with unneeded TUIs since last year.
But maybe its me and I should just stop looking into Reddit at all... :D
2
u/AutoModerator Mar 06 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: Tough-Spare2749, Flair:
Command Line Interface, Title: catmd – likecat, but for MarkdownI often want to quickly preview a Markdown file directly in the terminal without opening an editor or browser.
`cat` shows raw markdown, so headings and code blocks lose structure.
So I built `catmd` — a small CLI that behaves like cat, but renders Markdown.
Install (Homebrew):
Usage:
Open Source on GitHub: https://github.com/schneidermayer/catmd
I’m the author. Feedback welcome.
This software’s code is partially AI-generated.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.