aboutsummaryrefslogtreecommitdiff
path: root/tests/rst-reader.rst
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-11-06 16:49:45 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-11-06 16:49:45 +0000
commit22549e19c6017f6b34692c3cc0eb994e4790709b (patch)
tree73d6fd44882ab6474eb79ed2dcc45872c073c176 /tests/rst-reader.rst
parentf0e7d255928533b24a29d8df24bc00ef25bbd18e (diff)
downloadpandoc-22549e19c6017f6b34692c3cc0eb994e4790709b.tar.gz
Fixed parsing of RST comment blocks.
Modified 'unknown directive' in RST reader. Added RST reader tests for comment blocks. Resolves Issue #86 and Debian Bug#500662. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1484 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r--tests/rst-reader.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index f3d07b49d..09ff2b75c 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -402,3 +402,29 @@ From "Voyage dans la Lune" by Georges Melies (1902):
Here is a movie |movie| icon.
.. |movie| image:: movie.jpg
+
+Comments
+========
+
+First paragraph
+
+.. comment
+
+..
+ Comment block, should not appear in output
+ as defined by reStructuredText
+
+Another paragraph
+
+..
+ Another comment block.
+
+ This one spans several
+ text elements.
+
+ It doesn't end until
+ indentation is restored to the
+ preceding level.
+
+A third paragraph
+