alt.hn

2/10/2026 at 5:51:10 PM

Markdown CLI viewer with VI keybindings

https://github.com/taf2/mdvi

by taf2

2/10/2026 at 6:19:04 PM

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.

by juancn

2/10/2026 at 7:47:29 PM

Thanks i added a screenshot and in 0.2 you can see images now in the cli too

by taf2

2/10/2026 at 11:08:03 PM

The screenshot you added uses a transparent terminal where you can see your Discord chat in the background. You might want to remove that ;-)

by m4r71n

2/10/2026 at 11:37:47 PM

Why would someone use a transparent window background? Are people really reading the window behind it at the same time as the foreground window?

by forty

2/11/2026 at 1:59:39 AM

Example: If a build is going on in the background, I can see when it stops.

by alextingle

2/11/2026 at 2:58:49 AM

You can use `build-tool; tput bel` to hear the bell when it ends. Some terminal allows to set the urgent flag on the windows when the bell rings.

by skydhash

2/11/2026 at 6:53:24 AM

Yeah I have used desktop notifications for such things (via notify-send etc), but I'm going to accept this explanation for transparent background as it makes some sense to me.

by forty

2/11/2026 at 1:00:50 AM

pretty fun right :)

by taf2

2/11/2026 at 2:50:46 AM

no.... and your screen shot completely fails to show off your tool

by keithnz

2/11/2026 at 4:26:09 PM

There is a pull request option - feel free to use it

by taf2

2/10/2026 at 9:33:13 PM

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

by pss314

2/10/2026 at 8:03:01 PM

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

by llimllib

2/11/2026 at 2:04:07 AM

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

by smoyer

2/11/2026 at 2:23:17 AM

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.

by metalliqaz

2/11/2026 at 4:12:40 AM

Hey if there's significant overlap, what about coming and collab-ing on https://github.com/joshka/tui-markdown? (crate + cli, rust / ratatui / crossterm based)

by joshka

2/10/2026 at 9:59:08 PM

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

by Blackarea

2/11/2026 at 9:41:21 AM

If you like the man page aesthetic, using pandoc with groff is the most readable way to read markdown on the terminal I've found:

    mdless() {
        if command -v pandoc >/dev/null; then
            if [[ -z "$1" ]]; then
                cat | pandoc -s -f markdown -t man | groff -T utf8 -man | less
            else
                pandoc -s -f markdown -t man "$*" | groff -T utf8 -man | less
            fi
        else
            less "$@"
        fi
    }

by nikvdp

2/10/2026 at 6:26:26 PM

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

by maxsimb

2/10/2026 at 7:34:55 PM

It’s funny to see markdown tools popping up with the rise of agents.

by eyjafjalajokull

2/10/2026 at 7:25:55 PM

Isn’t vi good enough?

by kalterdev

2/10/2026 at 8:38:30 PM

NeoVim w/ render-markdown.nvim

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

by w0m

2/10/2026 at 9:53:31 PM

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

by Blackarea

2/11/2026 at 1:28:51 AM

render-markdown.nvim is very nice and works with GitHub Flavoured Markdown, even down to some of the newer features like INFO, IMPORTANT, etc. quotes.

by chrysoprace

2/10/2026 at 7:59:37 PM

No, I prefer emacs.

by munk-a

2/11/2026 at 3:32:58 AM

vi was mentioned because this software has "VI keybindings". no one asked what you prefer.

by kurtis_reed

2/10/2026 at 8:41:36 PM

makes sign of cross, and hisses

by syngrog66

2/11/2026 at 4:57:57 AM

I personally would have liked colours support like Glow has. At least the ability to theme it so we can add colours if we want. Nice tool, though.

by socceroos

2/10/2026 at 10:31:38 PM

You had me at vi bindings

by gigatexal

2/10/2026 at 8:40:52 PM

ie. vim

by syngrog66

2/10/2026 at 9:55:29 PM

aka view

by taf2

2/10/2026 at 7:28:05 PM

[dead]

by bainganbharta

2/11/2026 at 12:25:48 AM

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.

by ghost-of-dmr

2/11/2026 at 2:40:22 AM

This is an odd comment on "Hacker" news. There's a joy to be had in making things like this, even though there are better alternatives and it's often a weird thing to do in the first place. I often do not post the things I create here and elsewhere because I dread this kind of feedback. What do you hope OP takes away from your post?

by collinvandyck76

2/11/2026 at 12:26:02 PM

Great question- rather then having to push a change to GitHub to see the format changes you can just mdvi it now. Iterate locally is nice

by taf2