aboutsummaryrefslogtreecommitdiff
path: root/tests/rst-reader.rst
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-08 08:17:44 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-08 08:39:50 -0800
commit9ead748cc9cd79a8f490776d4d5dfe6cd0beb6f1 (patch)
tree3ed850ba16fa19a5ee5bb871801d1fb209321422 /tests/rst-reader.rst
parent91978d2201585110469dc8c1a9149d76a1736763 (diff)
downloadpandoc-9ead748cc9cd79a8f490776d4d5dfe6cd0beb6f1.tar.gz
RST reader: Added footnote suppport.
Resolves issue #258. Note that there are some differences in how docutils and pandoc treat footnotes. Currently pandoc ignores the numeral or symbol used in the note; footnotes are put in an auto-numbered ordered list.
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r--tests/rst-reader.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index 8c4b7d726..519f0080c 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -508,3 +508,31 @@ Multiple blocks in a cell
| | - b 2 | c 2 |
| r1 bis | - b 2 | c 2 |
+------------------+-----------+------------+
+
+Footnotes
+=========
+
+[1]_
+
+[#]_
+
+[#]_
+
+[*]_
+
+.. [1] Note with one line.
+
+.. [#] Note with
+ continuation line.
+
+.. [#] Note with
+
+ continuation block.
+
+.. [*] Note with
+ continuation line
+
+ and a second para.
+
+Not in note.
+