From ab1cdb46955082939a77e80d9671e82f0ff08b2d Mon Sep 17 00:00:00 2001 From: Even Brenden Date: Fri, 1 Mar 2024 09:50:47 +0100 Subject: [PATCH] Add emoji support WIP Waiting for https://github.com/jgm/pandoc/pull/9204 (3.1.12). --- make-slides.nix | 3 ++- slides.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/make-slides.nix b/make-slides.nix index b6aa42e..c694002 100644 --- a/make-slides.nix +++ b/make-slides.nix @@ -3,7 +3,6 @@ with pkgs; let - # https://github.com/jgm/pandoc/pull/9204 font-directory = "${pkgs.freefont_ttf}/share/fonts/truetype"; metadata-file = writeText "metadata.yaml" '' --- @@ -13,6 +12,8 @@ let - BoldFont=FreeSerifBold - ItalicFont=FreeSerifItalic - BoldItalicFont=FreeSerifBoldItalic + mainfontfallback: + - "NotoColorEmoji:mode=harf" --- ''; in writeShellApplication { diff --git a/slides.md b/slides.md index adc9c39..9dba1bd 100644 --- a/slides.md +++ b/slides.md @@ -14,7 +14,7 @@ # Second slide 1. [Link](http://www.link.com) item -2. No emojis :/ +2. Emojis 🍜 ---