Post History
You could use the LaTeX markdown package to create a pdf. To make sure that the coloured emoji are visible: choose a unicode-aware engine like lualatex choose a font which has coloured emoji, ...
#3: Post edited
- You could use the LaTeX `markdown` package to create a pdf.
- To make sure that the coloured emoji are visible:
- - choose a unicode-aware engine like `lualatex`
- - choose a font which has coloured emoji, e.g. `Noto Color Emoji`
- Assuming your markdown file is called `test.md`, the create a `.tex` with the content as shown below and compile it with `lualatex --shell-escape <name of .tex file>`.
```- \documentclass{article}
- \usepackage{markdown}
- \usepackage{fontspec}
- % from https://tex.stackexchange.com/a/572220/36296
- \directlua{luaotfload.add_fallback
- ("emojifallback",
- {
- "NotoColorEmoji:mode=harf;"
- }
- )}
- \setmainfont{Arial}[RawFeature={fallback=emojifallback}]
- \begin{document}
- \markdownInput{test.md}
- \end{document}
- ```
- 
- You could use the LaTeX `markdown` package to create a pdf.
- To make sure that the coloured emoji are visible:
- - choose a unicode-aware engine like `lualatex`
- - choose a font which has coloured emoji, e.g. `Noto Color Emoji`
- Assuming your markdown file is called `test.md`, the create a `.tex` with the content as shown below and compile it with `lualatex --shell-escape <name of .tex file>`.
- ```latex
- \documentclass{article}
- \usepackage{markdown}
- \usepackage{fontspec}
- % from https://tex.stackexchange.com/a/572220/36296
- \directlua{luaotfload.add_fallback
- ("emojifallback",
- {
- "NotoColorEmoji:mode=harf;"
- }
- )}
- \setmainfont{Arial}[RawFeature={fallback=emojifallback}]
- \begin{document}
- \markdownInput{test.md}
- \end{document}
- ```
- 
#2: Post edited
- You could use the LaTeX `markdown` package to create a pdf.
- To make sure that the coloured emoji are visible:
- - choose a unicode-aware engine like `lualatex`
- - choose a font which has coloured emoji, e.g. `Noto Color Emoji`
Compile the below example with `lualatex --shell-escape <file name>`- ```
- \documentclass{article}
- \usepackage{markdown}
- \usepackage{fontspec}
- % from https://tex.stackexchange.com/a/572220/36296
- \directlua{luaotfload.add_fallback
- ("emojifallback",
- {
- "NotoColorEmoji:mode=harf;"
- }
- )}
- \setmainfont{Arial}[RawFeature={fallback=emojifallback}]
- \begin{document}
- \markdownInput{test.md}
- \end{document}
- ```
- 
- You could use the LaTeX `markdown` package to create a pdf.
- To make sure that the coloured emoji are visible:
- - choose a unicode-aware engine like `lualatex`
- - choose a font which has coloured emoji, e.g. `Noto Color Emoji`
- Assuming your markdown file is called `test.md`, the create a `.tex` with the content as shown below and compile it with `lualatex --shell-escape <name of .tex file>`.
- ```
- \documentclass{article}
- \usepackage{markdown}
- \usepackage{fontspec}
- % from https://tex.stackexchange.com/a/572220/36296
- \directlua{luaotfload.add_fallback
- ("emojifallback",
- {
- "NotoColorEmoji:mode=harf;"
- }
- )}
- \setmainfont{Arial}[RawFeature={fallback=emojifallback}]
- \begin{document}
- \markdownInput{test.md}
- \end{document}
- ```
- 
#1: Initial revision
You could use the LaTeX `markdown` package to create a pdf.
To make sure that the coloured emoji are visible:
- choose a unicode-aware engine like `lualatex`
- choose a font which has coloured emoji, e.g. `Noto Color Emoji`
Compile the below example with `lualatex --shell-escape <file name>`
```
\documentclass{article}
\usepackage{markdown}
\usepackage{fontspec}
% from https://tex.stackexchange.com/a/572220/36296
\directlua{luaotfload.add_fallback
("emojifallback",
{
"NotoColorEmoji:mode=harf;"
}
)}
\setmainfont{Arial}[RawFeature={fallback=emojifallback}]
\begin{document}
\markdownInput{test.md}
\end{document}
```

