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 highlighting for raw byte strings #1513

Closed
nico-abram opened this issue May 1, 2021 · 0 comments · Fixed by #1597
Closed

Fix highlighting for raw byte strings #1513

nico-abram opened this issue May 1, 2021 · 0 comments · Fixed by #1597
Labels
A-Highlighting Area: Code colored syntax highlighting

Comments

@nico-abram
Copy link

highlight.js seems to not render rust raw byte string literals correctly. Example here: https://doc.rust-lang.org/reference/tokens.html?highlight=raw%20string#raw-byte-string-literals (Look for br" )
imagen

This pull request should fix the problem in highlight.js, but I'm opening this since mdbook will need to update once a version with the fix is released

The last commit updating highlight.js (9 Jul 2020) has the build options that were used to build it in the description

@ehuss ehuss added the A-Highlighting Area: Code colored syntax highlighting label Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Highlighting Area: Code colored syntax highlighting
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants