aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-03-18 02:38:58 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-03-18 02:38:58 +0000
commit874b57403846f2cfcab87100ed19a6c2c8a8db87 (patch)
tree70813018f3ee62b5b01b1a0c703bc12a268422a8 /tests
parent97bff3f9dcb5cccd1800380ac215fb1f4a02b281 (diff)
downloadpandoc-874b57403846f2cfcab87100ed19a6c2c8a8db87.tar.gz
RST writer: handle images in figures.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1899 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
-rw-r--r--tests/writer.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/writer.rst b/tests/writer.rst
index c2ef31b34..e68343b01 100644
--- a/tests/writer.rst
+++ b/tests/writer.rst
@@ -834,7 +834,11 @@ Images
From "Voyage dans la Lune" by Georges Melies (1902):
-|lalune|
+.. figure:: lalune.jpg
+ :align: center
+ :alt: Voyage dans la Lune
+
+ lalune
Here is a movie |movie| icon.
@@ -885,6 +889,5 @@ indented.
In list.
-.. |lalune| image:: lalune.jpg
.. |movie| image:: movie.jpg