Skip to content
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

Output classed spans for syntax highlighting instead of inline CSS #1092

Closed
Bauke opened this issue Jul 19, 2020 · 1 comment
Closed

Output classed spans for syntax highlighting instead of inline CSS #1092

Bauke opened this issue Jul 19, 2020 · 1 comment

Comments

@Bauke
Copy link

Bauke commented Jul 19, 2020

Relevant issue from Syntect: trishume/syntect#121

Would it be possible to add a configuration option for Zola to output classed spans instead of inline CSS?

This would also help with #419 as it could allow people to theme the highlighted code with their own styles.

@Keats
Copy link
Collaborator

Keats commented Jul 19, 2020

See #913

@Keats Keats closed this as completed Jul 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants