Emoji support in markdown_github #2523
Emoji preview if GitHub rendering is selected #66
This doesn't seem to be working when converting to PDF with pandoc dokumentace.md -f markdown_github -o dokumentace.pdf
. Following error appears:
! Package inputenc Error: Keyboard character used is undefined
(inputenc) in inputencoding `utf8'.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.83 ... ně odkazujeme pomocí symolů 1^^Le0f^^T
The same problem also appears with xetex. I'm using Pandoc 1.15.2
I enclosed the minimal document for inspection:
emoji.md.txt
Please let me know, if this is what you're looking for. Also, is there some version of Texlive required? I'm using the packages available in Ubuntu 14.04.
EDIT: I tried to convert :smiley:
and it works just fine. So it looks like that only some of the emojis are supported.
Looks like there's an issue with :one:
in HTML output, too. I'll reopen this issue so we can look into it.
OK, I've fixed a bunch of bugs in the emoji character definitions.
But note also that you should use --latex-engine=xelatex
, and that how the characters appear will depend on your font's support for them.
Thanks for raising this issue!
GitHub / GFM supports emoji and it would be nice to have a Pandoc extension for it.