aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorleungbk <bkleung89@gmail.com>2018-09-25 18:21:03 -0700
committerAlbert Krewinkel <albert+github@zeitkraut.de>2018-09-26 08:49:13 +0200
commit6e8f31dab16472cb7cf14aac88cf2e383bdbc5ec (patch)
tree122e44161c681e02378e99ee9a0102dab51ac376 /test/command
parent3d6aa51b6d0ac767a58e920dcb5be8191f8b78bc (diff)
downloadpandoc-6e8f31dab16472cb7cf14aac88cf2e383bdbc5ec.tar.gz
Force inline code blocks to honor export options.
`exportsCode` is moved from `Blocks.hs` to `Shared.hs` and exported accordingly.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/4885.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command/4885.md b/test/command/4885.md
new file mode 100644
index 000000000..8611097c2
--- /dev/null
+++ b/test/command/4885.md
@@ -0,0 +1,8 @@
+```
+% pandoc -f org -t markdown
+This won't show the command.
+src_maxima[:exports none :results raw]{tex('integrate(sin((e^x)/pi),x,0,inf));} $$\int_{0}^{\infty }{\sin \left({{e^{x}}\over{\pi}}\right)\;dx}$$
+^D
+This won\'t show the command.
+$$\int_{0}^{\infty }{\sin \left({{e^{x}}\over{\pi}}\right)\;dx}$$
+```