-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Update hugo to use WithAllClasses from Chroma #7167
Labels
Comments
Yes, but we also need to update the Chroma version (could ask him to tag a release version?) |
Good point. I'll add it to the chroma issue. |
acahir
added a commit
to acahir/hugo
that referenced
this issue
Apr 13, 2020
Chroma was updated to include a new function to output all CSS classes without skipping any considered redundant with the current style. This will modify the `hugo gen chromastyles` command to use this new function by default, which avoids potential problems if the style is later modified. Also includes requires the updated Chroma (v0.7.2). Resolves gohugoio#7167
bep
pushed a commit
that referenced
this issue
Apr 13, 2020
Chroma was updated to include a new function to output all CSS classes without skipping any considered redundant with the current style. This will modify the `hugo gen chromastyles` command to use this new function by default, which avoids potential problems if the style is later modified. Also includes requires the updated Chroma (v0.7.2). Resolves #7167
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Modify hugo to use
WithAllClasses()
when runninghugo gen chromastyles --style=monokai > syntax.css
to create CSS stylesheet.Small change in chroma to output all css class definitions, even if they have redundant coloring with current style. Prevents any modifications to the style from missing elements.
I believe it's only a matter of changing
WithClasses
toWithAllClasses
here.I will try to see if I can submit a PR, but haven't actually tried compiling hugo yet (still unfamiliar with Go) so noting this here.
The text was updated successfully, but these errors were encountered: