-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] pygments style #58
Comments
Closes GH-58. * alectryon/cli.py (gen_docutils): Skip embedded assets. (copy_assets): Add support for dynamically-generated assets. (dump_html_standalone): Don't embed pygments stylesheet. (build_parser): Add a new --pygments-stylesheet option. * alectryon/docutils.py (register_stylesheets): Support dynamic assets. * alectryon/html.py (ASSETS): Change "tango_subtle" to "pygments". * alectryon/latex.py (ASSETS): Same. Suggested-by: @gares
I think Github lost my answer to this question, sorry. Trying again:
It depends:
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?)
Right.
Right.
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:
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?
The text was updated successfully, but these errors were encountered: