Support beamer \alert
in LaTeX reader. Closes #4091.
This commit is contained in:
parent
c65b514ed1
commit
03ddac451e
2 changed files with 7 additions and 0 deletions
|
@ -1245,6 +1245,7 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList $
|
|||
, ("textup", extractSpaces (spanWith ("",["upright"],[])) <$> tok)
|
||||
, ("texttt", ttfamily)
|
||||
, ("sout", extractSpaces strikeout <$> tok)
|
||||
, ("alert", skipangles >> spanWith ("",["alert"],[]) <$> tok) -- beamer
|
||||
, ("lq", return (str "‘"))
|
||||
, ("rq", return (str "’"))
|
||||
, ("textquoteleft", return (str "‘"))
|
||||
|
|
6
test/command/4091.md
Normal file
6
test/command/4091.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
```
|
||||
% pandoc -f latex
|
||||
\alert<3>{foo}
|
||||
^D
|
||||
<p><span class="alert">foo</span></p>
|
||||
```
|
Loading…
Add table
Reference in a new issue