-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add support of Admonition #82
Comments
I have same experience, but in my case generated PDF has empty page before current page. May be related to #89 |
@rocinante333 @theanurin I found that admonitions used to look correct (including icon, and with correct border look) in mkdocs-material 4.6.3 but broke with mkdocs-material 5.0.0 (first bad commit is b345a0b65) and filed this mkdocs-material issue about it: squidfunk/mkdocs-material#3771 I'm not sure if the solution is some change in mkdocs-material or if mkdocs-pdf-export-plugin or weasyprint needs to do something to "catch up" to handle the changes in mkdocs-material, but let's see what mkdocs-material maintainer says. |
So mkdocs-material author closed the issue saying they don't officially support mkdocs-pdf-export-plugin. @zhaoterryy Perhaps my investigation in squidfunk/mkdocs-material#3771 can still be of use. It shows that mkdocs-material |
Turns out the missing icon is due to lack of support for image-mask in WeasyPrint (Kozea/WeasyPrint#1458). mkdocs-materials is using this since version 5. |
Is it possible to add support of https://python-markdown.github.io/extensions/admonition/ extension?
Currently when I try to export such pages I got an error:
The text was updated successfully, but these errors were encountered: