We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
Both ::marker and ::before are shown in annotations when printing a page using pymdownx.fancylists extension.
::marker
::before
pymdownx.fancylists
markdown_extensions: - attr_list - pymdownx.fancylists
Printed content:
This is due because pymdownx.fancylists sets lists type. The current CSS rule for handling these overrides the annotation styles.
type
.md-typeset ol[type], .md-typeset ul[type] { list-style-type: revert-layer; } .md-typeset .md-annotation-list { counter-reset: xxx; list-style: none; }
Possible fix:
.md-typeset .md-annotation-list { counter-reset: xxx; list-style: none !important; }
9.6.12-annotations-number-print.zip
Also, window.dispatchEvent(new Event("beforeprint")); shows the issue.
window.dispatchEvent(new Event("beforeprint"));
Chrome
The text was updated successfully, but these errors were encountered:
Thanks for reporting, investigating and providing a fix! Indeed, we need to use !important here, which I just added in 572da4f.
!important
Sorry, something went wrong.
No branches or pull requests
Context
No response
Bug description
Both
::marker
and::before
are shown in annotations when printing a page usingpymdownx.fancylists
extension.Printed content:

This is due because
pymdownx.fancylists
sets liststype
. The current CSS rule for handling these overrides the annotation styles.Possible fix:
Related links
type
attribute #7542Reproduction
9.6.12-annotations-number-print.zip
Steps to reproduce
::marker
and::before
.Browser
Chrome
Before submitting
The text was updated successfully, but these errors were encountered: