Emoji in headings aren't displayed in PDF exports

I’ve found out that it’s a problem with the font weight. The workaround I’m using now is to wrap the emoji(s) in a span that resets the font weight like this:

# <span style="font-weight: normal">πŸ“œ</span> Readme

This way the emoji will still be shown after exporting to pdf.

4 Likes