-
Notifications
You must be signed in to change notification settings - Fork 210
Fix code blocks in /about
#1315
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
Conversation
I haven't tested this aside from copying-and-pasting into Firefox Developer Tools because I don't have a local dev environment set up for docs.rs. Even with that, I wasn't able to test this that well. So I would really appreciate if someone could test this for me :) |
Test failure looks unrelated. |
TOML and INI are aliases for each other within highlight.js, their highlighting is identical |
* Add `lang-` classes so hl.js identifies them correctly (it thought Rust was C++ and TOML was INI before) * Remove large blank space caused by newlines in HTML source
Okay, but it can't hurt to add the hint in case it changes in the future :) |
@rustbot label: -S-waiting-on-author +S-waiting-on-review |
Error: This repository is not enabled to use triagebot. Please let |
What do you mean? That highlighting looks good to me :) |
Yes, but there's an extra blank line at the top (the removal of the bottom one worked though) and the |
Try changing the decent level to 3 and removing the newline after |
This is a followup to rust-lang#1315 to fix the extra blank line at the top and to fix the indentation.
This is a followup to rust-lang#1315 to fix the extra blank line at the top and to fix the indentation.
This is a followup to rust-lang#1315 to fix the extra blank line at the top and to fix the indentation.
This is a followup to rust-lang#1315 to fix the extra blank line at the top and to fix the indentation.
* Better fix code blocks in `/about` This is a followup to #1315 to fix the extra blank line at the top and to fix the indentation. Co-authored-by: Camelid <camelidcamel@gmail.com>
Add
lang-
classes so hl.js identifies them correctly (it thoughtRust was C++ and TOML was INI before)
Remove large blank space caused by newlines in HTML source