mkdocs-pdf-export-plugin
mkdocs-pdf-export-plugin copied to clipboard
MkDocs PDF Export Plugin and Font Awesome Issue
I'm using MkDocs with the fontawesome_markdown
markdown extension and the pdf-export
plug-in.
+ A :fa-link: mentions an internal link while a :fa-external-link: mentions an external link to the web.
The HTML pages render the characters correctly.
![Capture d’écran 2019-10-31 à 12 32 59](https://user-images.githubusercontent.com/951776/67943825-39f0c200-fbdb-11e9-8678-1b8ecfd8387e.png)
However, the generated PDFs show the codes instead of the characters.
![Capture d’écran 2019-10-31 à 12 33 19](https://user-images.githubusercontent.com/951776/67943837-3eb57600-fbdb-11e9-841f-2f19aa086517.png)
How to fix this? Thank you!
Any news on this yet?
mkdocs-material
offers support for fontawesome icons, have you tried that?
https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/
Sure, I'm already using the fontawesome icons.
- mkdocs.yml
markdown_extensions:
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- Section1.md
# Chapter 1
## Chapter 1 - Section 1
### Part 1
This is a test.
+ Step 1 :fontawesome-solid-link:
+ Step 2 :fontawesome-solid-external-link-alt:
![](img/Picture1-1.png)
- Website result
![Capture 2020-10-08 à 10 12 49](https://user-images.githubusercontent.com/951776/95432476-0112ae80-094f-11eb-9a3d-e4c1d50b7664.png)
- But the PDF doesn't show the icons.
![Capture 2020-10-08 à 10 13 28](https://user-images.githubusercontent.com/951776/95432517-1091f780-094f-11eb-97ae-bc7a4b13d14d.png)