aboutsummaryrefslogtreecommitdiff
path: root/tests/rst-reader.rst
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-10-13 21:39:17 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-10-13 21:39:17 +0000
commit8144c54f826d4d8b995e0e267a908dff459704ad (patch)
tree8ec78a6ef0e1031d2b5c56c47a29188807487ac0 /tests/rst-reader.rst
parent11e7ad2259eaac1f126aa6f3f1b992eeaa4c0a20 (diff)
downloadpandoc-8144c54f826d4d8b995e0e267a908dff459704ad.tar.gz
Improvements to RST reader:
+ Allow field lists to be indented. + Parse the contents of field lists instead of treating them as raw strings. + Represent field lists as definition lists rather than blockquotes. + Fixed bug in which metadata would be overridden if the document contained more than one field list. + Parse fields associated with ..image: blocks, and use the 'alt' field, if present, for image alt text and title. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1050 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r--tests/rst-reader.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index 36fd4ff9d..f3d07b49d 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -256,6 +256,19 @@ term 2
term with *emphasis*
Definition 3.
+Field Lists
+===========
+
+ :address: 61 Main St.
+ :city: *Nowhere*, MA,
+ USA
+ :phone: 123-4567
+
+:address: 61 Main St.
+:city: *Nowhere*, MA,
+ USA
+:phone: 123-4567
+
HTML Blocks
===========
@@ -382,6 +395,10 @@ From "Voyage dans la Lune" by Georges Melies (1902):
.. image:: lalune.jpg
+.. image:: lalune.jpg
+ :height: 2343
+ :alt: Voyage dans la Lune
+
Here is a movie |movie| icon.
.. |movie| image:: movie.jpg