-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
- I've read the contribution guidelines and agree with them
I've found a bug and checked that ...
- ... the problem doesn't occur with the default MkDocs template
- ... the problem is not in any of my customizations (CSS, JS, template)
- ... the documentation does not mention anything about my problem
- ... there are no open or closed issues that are related to my problem
Description
Pygments syntax highlighting are missing the style .mb - number, binary.
mkdocs-material/src/assets/stylesheets/main/extensions/pymdownx/_highlight.scss
Lines 59 to 66 in b194b21
| .m, // Number | |
| .mf, // Number, float | |
| .mh, // Number, hex | |
| .mi, // Number, integer | |
| .il, // Number, integer long | |
| .mo { // Number, octal | |
| color: var(--md-code-hl-number-color); | |
| } |
Expected behavior
Code that was determined by Pygments to be class="mb" should be highlighted just like all other numbers.
Actual behavior
https://oprypin.github.io/crystal-book/syntax_and_semantics/literals/integers.html
Steps to reproduce the bug
```crystal
0b1101
```Package versions
- Python: 3.9.1
- MkDocs: 3c9358bb6afedb559850a640961a691d698866ba
- Material: 6.2.3
Project configuration
theme: material
markdown_extensions:
- pymdownx.highlight
- pymdownx.superfencesMetadata
Metadata
Assignees
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
