summaryrefslogtreecommitdiff
path: root/tests/writer.markdown
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-19 07:30:36 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-19 07:30:36 +0000
commit3a6296acae34ddb2ea7678ee6d8c727aab4eb087 (patch)
treea1e35b6d586dbf72ac0314241f1bae1881d51162 /tests/writer.markdown
parenta8bbd950e526abb69262fb7186ced583885c6ac8 (diff)
Changed footnote syntax to conform to the de facto standard
for markdown footnotes. References are now like this[^1] rather than like this^(1). There are corresponding changes in the footnotes themselves. See the updated README for more details. git-svn-id: https://pandoc.googlecode.com/svn/trunk@230 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.markdown')
-rw-r--r--tests/writer.markdown31
1 files changed, 15 insertions, 16 deletions
diff --git a/tests/writer.markdown b/tests/writer.markdown
index 737ddd524..f84372797 100644
--- a/tests/writer.markdown
+++ b/tests/writer.markdown
@@ -607,21 +607,20 @@ Here is a movie ![movie](movie.jpg) icon.
# Footnotes
-Here is a footnote reference^(1), and another^(longnote). This
+Here is a footnote reference[^1], and another[^longnote]. This
should *not* be a footnote reference, because it contains a
-space\^(my note).
-
-^(1) Here is the footnote. It can go anywhere in the document, not just
-^ at the end.
-
-^(longnote) Here's the other note. This one contains multiple blocks.
-^
-^ Caret characters are used to indicate that the blocks all belong to
-^ a single footnote (as with block quotes).
-^
-^ { <code> }
-^
-^ If you want, you can use a caret at the beginning of every line, as
-^ with blockquotes, but all that you need is a caret at the beginning
-^ of the first line of the block and any preceding blank lines.
+space[\^my note].
+
+[^1]: Here is the footnote. It can go anywhere in the document, not just
+ at the end.
+
+[^longnote]: Here's the other note. This one contains multiple blocks.
+
+ Subsequent blocks are indented to show that they belong to the
+ footnote (as with list items).
+
+ { <code> }
+
+ If you want, you can indent every line, but you can also be lazy
+ and just indent the first line of each block.