diff options
author | schrieveslaach <schrieveslaach@online.de> | 2017-06-11 07:47:42 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-06-11 07:47:42 +0200 |
commit | f36de77a2586d314d8de25c3c2a48fb5f95cafc9 (patch) | |
tree | ff014bb58f01236d6870fb6c30185e7734bb0954 /src/Text/Pandoc/Readers | |
parent | 49830555fa4a384692ab4ec4e64fdb6c4e7bc78b (diff) | |
download | pandoc-f36de77a2586d314d8de25c3c2a48fb5f95cafc9.tar.gz |
Support for \faCheck and \faClose (#3727)
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 3 |
1 files changed, 3 insertions, 0 deletions
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: |