Closed gares closed 3 years ago
I think Github lost my answer to this question, sorry. Trying again:
This comment seems outdated, since the .css is not inlined even if you use the command line interface.
It depends:
If it was inlined, I could add a command line option to select another style.
We could still have a CLI option to select the style, even if it's external (I think this is also what you say below?)
One way would be to keep the css external, maybe rename it to remove "tango", and change the regen_tango_subtle_css.py to take an argument (the style), and the let me generate another style at deploy time.
Right.
Another option would be to make this comment true, and add a command line option to pick the style.
Right.
What is best?
I'm not sure :) Both? I've made a branch at https://github.com/cpitclaudel/alectryon/tree/gh-58-pygments ; please give it a try and let me know what you think. In brief:
embed_stylesheet
pygments.css
instead of tango_subtle
--pygments-style
settings.Hopefully that covers everything. Please let me know, and I'll merge soon.
great, I'll try asap
Works for me, thanks!
Thanks, merged.
This comment seems outdated, since the .css is not inlined even if you use the command line interface.
If it was inlined, I could add a command line option to select another style.
I'd like to pick another style, one close to the default vscode one.
One way would be to keep the css external, maybe rename it to remove "tango", and change the regen_tango_subtle_css.py to take an argument (the style), and the let me generate another style at deploy time.
Another option would be to make this comment true, and add a command line option to pick the style.
What is best?