Is there a way to preview markdown in vifm?
thank you
I use bat for this purpose (apt install bat, but the executable is called batcat in my distro).
bat
apt install bat
batcat
Your vifmrc should include something like this snippet:
vifmrc
fileviewer *.html,*.md env -uCOLORTERM batcat --color always --wrap auto --pager never %c -p
As with other files, it needs a suitable converted, pandoc would be another example:
pandoc
fileviewer {*.md} pandoc %c -t ansi