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.
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
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
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?
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)
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
}
juancn | a day ago
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.
[OP] taf2 | a day ago
m4r71n | 23 hours ago
forty | 23 hours ago
[OP] taf2 | 21 hours ago
keithnz | 19 hours ago
[OP] taf2 | 6 hours ago
alextingle | 20 hours ago
skydhash | 19 hours ago
forty | 15 hours ago
verdverm | a day ago
Charm Glamour with a view port uses basic vi keybinds as well
maxsimb | a day ago
eyjafjalajokull | a day ago
kalterdev | a day ago
munk-a | a day ago
syngrog66 | a day ago
kurtis_reed | 19 hours ago
w0m | a day ago
(not to poo on OP - I dig a clean TUI renderer, I have BAT installed for a reason)
Blackarea | a day ago
chrysoprace | 21 hours ago
llimllib | a day ago
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
syngrog66 | a day ago
[OP] taf2 | a day ago
pss314 | a day ago
Blackarea | a day ago
gigatexal | a day ago
jonaustin | 22 hours ago
https://github.com/charmbracelet/glow
ghost-of-dmr | 22 hours ago
Stop trying to re-invent the wheel when the tools are already there.
collinvandyck76 | 20 hours ago
[OP] taf2 | 10 hours ago
smoyer | 20 hours ago
metalliqaz | 20 hours ago
joshka | 18 hours ago
socceroos | 17 hours ago
nikvdp | 13 hours ago