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

fix(docs): Use CSS-style comments in syntax highlight CSS suggestion snippet #2572

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

schilkp
Copy link
Contributor

@schilkp schilkp commented Jul 13, 2024

The suggested SCSS snippet to properly style syntax-highlighted code blocks is valid CSS, except that it uses C++ style comments (// foo). This updates the snippet to use C style comments (/* foo */) making the snippet valid for both CSS and SCSS.

Ran into this because I was building a very simple zola page without scss.

I am a total webdev beginner, so please shoot me down if this makes no sense :)

Thanks for the great project!

Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

@Keats Keats merged commit c20b336 into getzola:master Jul 13, 2024
5 checks passed
iamorphen pushed a commit to iamorphen/zola that referenced this pull request Jul 15, 2024
berdandy pushed a commit to berdandy/azola that referenced this pull request Sep 17, 2024
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

Successfully merging this pull request may close these issues.

2 participants