mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
Support beamer \alert in LaTeX reader. Closes #4091.
This commit is contained in:
@@ -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 "‘"))
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
```
|
||||
% pandoc -f latex
|
||||
\alert<3>{foo}
|
||||
^D
|
||||
<p><span class="alert">foo</span></p>
|
||||
```
|
||||
Reference in New Issue
Block a user