Markdown CLI viewer with VI keybindings
51 points by taf2 6 hours ago | 17 comments

juancn 6 hours ago
A screenshot would be a nice addition to the readme.

It seems is only pure text (no support for image extensions of a terminal, just a link to the image), based on this: https://github.com/taf2/mdvi/blob/master/src/renderer.rs

It looks nice and clean code.

reply
taf2 4 hours ago
Thanks i added a screenshot and in 0.2 you can see images now in the cli too
reply
m4r71n 30 minutes ago
The screenshot you added uses a transparent terminal where you can see your Discord chat in the background. You might want to remove that ;-)
reply
pss314 3 hours ago
Markdown reader using find, fzf and lnav

  find . \( -path '*/vendor/*' -or -path '*/.git/*' -or -path '*/node_modules/*' \) -prune -or -type f -name "*.md" -print | fzf | xargs lnav
In the above command, the find command excludes directories such as "vendor" (golang), ".git" (git) and "node_modules" (nodejs). The lnav itself provides the markdown support https://lnav.org/2022/08/06/markdown-support.html
reply
llimllib 4 hours ago
I created one I like: https://github.com/llimllib/mdriver

it can echo images with kitty image protocol, and streams the output, which I use to show LLM output as it arrives

It doesn't handle paging - you can pipe it to `less` or whatever pager for that

reply
Blackarea 2 hours ago
3 source files, nice code, no vibe-coding slob, nice little project... That's rare these days
reply
kalterdev 5 hours ago
Isn’t vi good enough?
reply
w0m 3 hours ago
NeoVim w/ render-markdown.nvim

(not to poo on OP - I dig a clean TUI renderer, I have BAT installed for a reason)

reply
Blackarea 2 hours ago
Bat is nice. Oh dang now i have to try this plugin. I remember trying a couple of similar ones that got me so frustrated that i abandoned the idea of markdown viewers in nvim... Here we go again XD
reply
munk-a 4 hours ago
No, I prefer emacs.
reply
syngrog66 3 hours ago
makes sign of cross, and hisses
reply
maxsimb 6 hours ago
https://github.com/Vagab/mark similar tool, but with editing enabled also!
reply
eyjafjalajokull 5 hours ago
It’s funny to see markdown tools popping up with the rise of agents.
reply
verdverm 6 hours ago
https://github.com/charmbracelet/glamour

Charm Glamour with a view port uses basic vi keybinds as well

reply
gigatexal 2 hours ago
You had me at vi bindings
reply
syngrog66 3 hours ago
ie. vim
reply
taf2 2 hours ago
aka view
reply
bainganbharta 5 hours ago
[dead]
reply