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
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
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.
Thanks i added a screenshot and in 0.2 you can see images now in the cli too
The screenshot you added uses a transparent terminal where you can see your Discord chat in the background. You might want to remove that ;-)
Why would someone use a transparent window background? Are people really reading the window behind it at the same time as the foreground window?
Example: If a build is going on in the background, I can see when it stops.
pretty fun right :)
Here's the one I use a lot ... And the underlying `glamour` library is great for programmatic markdown display: https://github.com/charmbracelet/glow.
Glow is pretty great and has been around for a while:
https://github.com/charmbracelet/glow
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.
Markdown reader using find, fzf and 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.htmlI 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
3 source files, nice code, no vibe-coding slob, nice little project... That's rare these days
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.
Isn’t vi good enough?
NeoVim w/ render-markdown.nvim
(not to poo on OP - I dig a clean TUI renderer, I have BAT installed for a reason)
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
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.
No, I prefer emacs.
makes sign of cross, and hisses
https://github.com/Vagab/mark similar tool, but with editing enabled also!
It’s funny to see markdown tools popping up with the rise of agents.
https://github.com/charmbracelet/glamour
Charm Glamour with a view port uses basic vi keybinds as well
ie. vim
aka view
You had me at vi bindings