diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-06-07 10:03:10 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-06-07 10:03:10 -0700 |
commit | d8b4e45be0b22aa5939add501339b64252d802ea (patch) | |
tree | df33e3150601061a3e19d2ae02784a05678478fc /test/command | |
parent | 20503894f39a1426c8623f604b98e88e93a16235 (diff) | |
download | pandoc-d8b4e45be0b22aa5939add501339b64252d802ea.tar.gz |
LaTeX writer: Include inline code attributes with `--listings`.
Closes #5420.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/5420.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/5420.md b/test/command/5420.md new file mode 100644 index 000000000..b638fe5d2 --- /dev/null +++ b/test/command/5420.md @@ -0,0 +1,6 @@ +``` +% pandoc --listings -t latex +`int a = 1;`{.cpp style=cpp} +^D +\passthrough{\lstinline[language={C++}, style=cpp]!int a = 1;!} +``` |