Closed harishnkr closed 1 year ago
Never mind, I was able to view it after specifying the style (dark or light) I guess i can close the issue
Glad to know you figured it out! Do you think other people might consider this preview useful? If so, maybe we should add it as a built-in preview to ctpv?
Yes. I honestly think others would find it really beneficial. It works out of the box but there are some features missing in LF that fails to take advantage of text previews.
As you can see text wrapping is not functional (maybe i am overlooking some inbuilt features in LF). I used dark theme for the preview (which as i said before must be specified in order to use it). glow does not currently render images, but I am pretty sure it will work in the future.
But I cant currently view images from markdown files via mdcat either.
I will add a pull request for glow as a previewer for ctpv if you are okay with it. I also hope LF make scroll preview a thing. If ctpv can make a feature for scrolling as well, it would be great.
Yes, feel free to open a pull request! You need to add a script to sh/prev/
and add a new entry to previews.h
.
Tried to use glow: for markdown previews. Does not work
config is as follows:
It works when invoked via command like without lf. Terminal : kitty