From d8b4e45be0b22aa5939add501339b64252d802ea Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 7 Jun 2019 10:03:10 -0700 Subject: LaTeX writer: Include inline code attributes with `--listings`. Closes #5420. --- test/command/5420.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/command/5420.md (limited to 'test/command') 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;!} +``` -- cgit v1.2.3