aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-26 23:40:31 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-26 23:40:31 +0100
commit99b39ffc1726a86e6a6ad45ef6b81a28b46594ef (patch)
tree6ef2a77f1bc5c0e670f209b8ba2a4ecd1c1d480d /test/command
parent092c8f7732858d378f81dd2ff1f1fe16d10746ab (diff)
downloadpandoc-99b39ffc1726a86e6a6ad45ef6b81a28b46594ef.tar.gz
RST reader: support scale and align attributes of images.
Closes #2662.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/2662.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/command/2662.md b/test/command/2662.md
new file mode 100644
index 000000000..543209053
--- /dev/null
+++ b/test/command/2662.md
@@ -0,0 +1,11 @@
+```
+% pandoc -t html -f rst --wrap=none
+.. image:: http://url.to.image/foo.png
+ :align: left
+ :height: 100px
+ :width: 200 px
+ :scale: 300 %
+ :alt: alternate text
+^D
+<p><img src="http://url.to.image/foo.png" alt="alternate text" class="align-left" width="600" height="300" /></p>
+```