google / google/comprehensive-rust

Inconsistent syntax highlighting between various types of code blocks

Open
#343 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
33.4k
Forks
2.1k
Avg merge
1d 3h
Merged PRs (30d)
10

Description

Looking at [this page](https://google.github.io/comprehensive-rust/ownership/lifetimes-function-calls.html), it seems that syntax highlighting (and line spacing) is inconsistent between code blocks marked as `editable` vs. `ignore`.

I find the colors somewhat better for `ignore`, but the drawback is that it's not editable, and the extra line spacing is not necessary.

---

`editable` block:

![image](https://user-images.githubusercontent.com/4346404/216648298-059a6e7d-e339-40aa-b156-caa0c0282dfc.png)

---

`ignore` block:

![image](https://user-images.githubusercontent.com/4346404/216648579-685475d4-2200-4b5b-ae22-a20bab268cce.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.