LaTeX writer: Include inline code attributes with --listings.

Closes #5420.
This commit is contained in:
John MacFarlane
2019-06-07 10:03:10 -07:00
parent 20503894f3
commit d8b4e45be0
2 changed files with 18 additions and 4 deletions
+6
View File
@@ -0,0 +1,6 @@
```
% pandoc --listings -t latex
`int a = 1;`{.cpp style=cpp}
^D
\passthrough{\lstinline[language={C++}, style=cpp]!int a = 1;!}
```