Markdown CLI viewer with VI keybindings

github.com

57 points by taf2 9 hours ago


juancn - 8 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.

smoyer - 36 minutes ago

Here's the one I use a lot ... And the underlying `glamour` library is great for programmatic markdown display: https://github.com/charmbracelet/glow.

jonaustin - 3 hours ago

Glow is pretty great and has been around for a while:

https://github.com/charmbracelet/glow

pss314 - 5 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
llimllib - 7 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

metalliqaz - 17 minutes ago

It's funny because the whole idea of Markdown is that it is readable both as text and rendered, so it shouldn't require a terminal renderer.

Blackarea - 5 hours ago

3 source files, nice code, no vibe-coding slob, nice little project... That's rare these days

ghost-of-dmr - 2 hours ago

Markdown is already readable as-is. How is this any different from running "more my_file.md" ?

Stop trying to re-invent the wheel when the tools are already there.

kalterdev - 7 hours ago

Isn’t vi good enough?

maxsimb - 8 hours ago

https://github.com/Vagab/mark similar tool, but with editing enabled also!

verdverm - 8 hours ago

https://github.com/charmbracelet/glamour

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

gigatexal - 4 hours ago

You had me at vi bindings

syngrog66 - 6 hours ago

ie. vim

bainganbharta - 7 hours ago

[dead]