chamburr / glance

🔎 All-in-one Quick Look plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

defaults preferences?

resistor4u opened this issue · comments

Thanks for your work on this project. I'm pulling in the most recent versions of goldmark and chroma and building glance from source and would like to experiment with changing the rendered appearance of markdown files and the output of the quicklook previews altogether---e.g., fontsize, font type, coloring, etc. Are there any defaults settings that handle this from the command line? Or if one wanted to tweak these settings, are these changes that have to be made in the go modules? Thanks!

Hi resistor4u, these settings are not configurable from the command line. The changes need to be tweaked in the CSS files located here: https://github.com/chamburr/glance/tree/main/QLPlugin/Resources/shared.

Great thanks! I've only messed with font size in shared-main.css so far, but I'm assuming all the values there can be changed without having to recompile? If this is right, it might make sense to notate that somewhere in the readme with a trivial example?

Oh yeah they should work without recompiling. I don't think I want to include this in README since the changes don't persist across updates and reinstalls. Perhaps a feature we could work on is to read CSS files from some Library folder.