Support for \faCheck and \faClose (#3727)

This commit is contained in:
schrieveslaach 2017-06-11 07:47:42 +02:00 committed by John MacFarlane
parent 49830555fa
commit f36de77a25
2 changed files with 16 additions and 0 deletions

View file

@ -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:

View file

@ -0,0 +1,13 @@
```
% pandoc -f latex -t native
Check: \faCheck
^D
[Para [Str "Check:",Space,Str "\10003"]]
```
```
% pandoc -f latex -t native
Close: \faClose
^D
[Para [Str "Close:",Space,Str "\10007"]]
```