From f36de77a2586d314d8de25c3c2a48fb5f95cafc9 Mon Sep 17 00:00:00 2001 From: schrieveslaach Date: Sun, 11 Jun 2017 07:47:42 +0200 Subject: Support for \faCheck and \faClose (#3727) --- src/Text/Pandoc/Readers/LaTeX.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Text/Pandoc/Readers') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 796d2789e..1ac872933 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -682,6 +682,9 @@ inlineCommands = M.fromList $ , ("nohyphens", tok) , ("textnhtt", ttfamily) , ("nhttfamily", ttfamily) + -- fontawesome + , ("faCheck", lit "\10003") + , ("faClose", lit "\10007") ] ++ map ignoreInlines -- these commands will be ignored unless --parse-raw is specified, -- in which case they will appear as raw latex blocks: -- cgit v1.2.3