Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is neat. I recently wanted something similar so this is what I did:

1. Zellij split panes

2. Left pane: Helix editor with built-in Marksman (markdown LSP) support.

3. Right pane: watchexec (re- runs commands when watched files change) running Glow (Terminal markdown renderer) on the last modified markdown file (‘ls’ gives you that)

Then you can use ‘gd’ and whatnot to move between references from one markdown file to another.

This is easily composed of smaller parts, so you can use vim instead of helix, tmux instead of zellij, mdcat instead of glow.

It’s really the same process I might use to edit code on the left and re run tests or compiler checks or linting on the right. Since I was already doing those things, turning my terminal into a markdown viewer was trivial.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: