Skip to content
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

MkDocs PDF Export Plugin and Font Awesome Issue #63

Open
rei-vilo opened this issue Oct 31, 2019 · 3 comments
Open

MkDocs PDF Export Plugin and Font Awesome Issue #63

rei-vilo opened this issue Oct 31, 2019 · 3 comments

Comments

@rei-vilo
Copy link

rei-vilo commented Oct 31, 2019

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

However, the generated PDFs show the codes instead of the characters.

Capture d’écran 2019-10-31 à 12 33 19

How to fix this? Thank you!

@rei-vilo rei-vilo changed the title MkDocs PDF Export Plugin and Font Awesome MkDocs PDF Export Plugin and Font Awesome Issue Oct 31, 2019
@MiLiCLN
Copy link

MiLiCLN commented Feb 13, 2020

Any news on this yet?

@timvink
Copy link
Contributor

timvink commented Oct 8, 2020

mkdocs-material offers support for fontawesome icons, have you tried that?

https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/

@rei-vilo
Copy link
Author

rei-vilo commented Oct 8, 2020

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

  • But the PDF doesn't show the icons.

Capture 2020-10-08 à 10 13 28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants