Support for \faCheck and \faClose (#3727)
This commit is contained in:
parent
49830555fa
commit
f36de77a25
2 changed files with 16 additions and 0 deletions
|
@ -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:
|
||||
|
|
13
test/command/latex-fontawesome.md
Normal file
13
test/command/latex-fontawesome.md
Normal 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"]]
|
||||
```
|
Loading…
Reference in a new issue