You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the problem doesn't occur with the mkdocs or readthedocs themes
... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
I've noticed that my code annotations only appear with their numbering on the printed output on Firefox 93.0 and Chrome 94 when using the example provided in the documentation.
Expected behaviour
Code annotations should be fully visible and printed below a code block.
Actual behaviour
Only the list numbers are visible below a code block.
Steps to reproduce
Create a new mkdocs project mkdocs new ..
Use the configuration posted below.
Edit the index.md:
# Welcome to MkDocs
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
## Testing```jsdocument$.subscribe(function() { // (1)var tables =document.querySelectorAll(/* (2) */"article table")
tables.forEach(function(table) {
newTablesort(table)
})
})
```1. Annotation 1
2. Annotation 2
Build documentation and print index.html
P.S. Workaround seems to be a new-line between the list elements:
# Welcome to MkDocs
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
## Testing```jsdocument$.subscribe(function() { // (1)var tables =document.querySelectorAll(/* (2) */"article table")
tables.forEach(function(table) {
newTablesort(table)
})
})
```1. Annotation 1
2. Annotation 2
Good catch, definitely a bug. I'm currently in the process of fixing all issues reported for code annotations. I'll revisit this issue as part of this undertaking, which will also fix all alignment and positioning issues in #2475.
Temporary workaround: as you already realized, putting a newline between annotations temporarily fixes the issue.
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
I've noticed that my code annotations only appear with their numbering on the printed output on Firefox 93.0 and Chrome 94 when using the example provided in the documentation.
Expected behaviour
Code annotations should be fully visible and printed below a code block.
Actual behaviour
Only the list numbers are visible below a code block.
Steps to reproduce
mkdocs new .
.P.S. Workaround seems to be a new-line between the list elements:
Package versions
Configuration
System information
The text was updated successfully, but these errors were encountered: