mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-02-17 19:10:46 +01:00
Add support for markdown with glow
This commit is contained in:
parent
2936aba143
commit
41507944c4
@ -15,6 +15,7 @@
|
|||||||
Preview b_previews[] = {
|
Preview b_previews[] = {
|
||||||
PR(NULL, NULL, NULL, any, PREV_ATTR_NONE),
|
PR(NULL, NULL, NULL, any, PREV_ATTR_NONE),
|
||||||
|
|
||||||
|
PR("md", NULL, NULL, glow, PREV_ATTR_NONE),
|
||||||
PR("md", NULL, NULL, mdcat, PREV_ATTR_NONE),
|
PR("md", NULL, NULL, mdcat, PREV_ATTR_NONE),
|
||||||
PR("torrent", NULL, NULL, torrent, PREV_ATTR_NONE),
|
PR("torrent", NULL, NULL, torrent, PREV_ATTR_NONE),
|
||||||
|
|
||||||
|
3
sh/prev/glow.sh
Normal file
3
sh/prev/glow.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# markdown: glow
|
||||||
|
|
||||||
|
glow -s auto -w "$w" "$f"
|
Loading…
Reference in New Issue
Block a user