QL-Win / QuickLook

Bring macOS “Quick Look” feature to Windows
http://pooi.moe/QuickLook/
GNU General Public License v3.0
16.58k stars 1.06k forks source link

Programming languages files syntax highlighting #1317

Open Van4kk opened 1 year ago

Van4kk commented 1 year ago

I'm using QuikLook for a while, im very happy with it, is a very useful app.

I'm using it alot in my work, projects, where there are many, many files, different extensions, but all of them contains code. Add syntax highlighting for different programming languages files. Do you have in plans this feature? If not, here is my idea. 😄

xhaavardx commented 1 year ago

Yes, please add this. It would make parsing files a lot easier. There currently a lot of extension it doesn't support such as .mjs, among others. Also, the syntax highlighter looks terrible.

mooflu commented 10 months ago

I wrote a plugin a while back to preview a bunch of formats via WebView2. If you don't mind the higher resource usage due to browser preview, any file type supported by prism should work. See https://github.com/mooflu/WebViewPlus#syntax-highlighter for config. Plugin uses this web app so you can try it first in your browser.

rabelux commented 5 months ago

@mooflu thanks for your contribution, I added it to the list of available plugins: https://github.com/QL-Win/QuickLook/wiki/Available-Plugins