mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 10:16:32 +00:00
LaTeX writer: Include inline code attributes with --listings.
Closes #5420.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
```
|
||||
% pandoc --listings -t latex
|
||||
`int a = 1;`{.cpp style=cpp}
|
||||
^D
|
||||
\passthrough{\lstinline[language={C++}, style=cpp]!int a = 1;!}
|
||||
```
|
||||
Reference in New Issue
Block a user