diff options
Diffstat (limited to 'tests/writer.markdown')
-rw-r--r-- | tests/writer.markdown | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/tests/writer.markdown b/tests/writer.markdown index f84372797..c91546aaa 100644 --- a/tests/writer.markdown +++ b/tests/writer.markdown @@ -607,14 +607,17 @@ Here is a movie ![movie](movie.jpg) icon. # Footnotes -Here is a footnote reference[^1], and another[^longnote]. This -should *not* be a footnote reference, because it contains a -space[\^my note]. +Here is a footnote reference,[^1] and another.[^2] This should +*not* be a footnote reference, because it contains a space.[\^my +note] Here is an inline note.[^3] -[^1]: Here is the footnote. It can go anywhere in the document, not just - at the end. +This paragraph should not be part of the note, as it is not +indented. -[^longnote]: Here's the other note. This one contains multiple blocks. +[^1]: Here is the footnote. It can go anywhere after the footnote + reference. It need not be placed at the end of the document. + +[^2]: Here's the long note. This one contains multiple blocks. Subsequent blocks are indented to show that they belong to the footnote (as with list items). @@ -624,3 +627,6 @@ space[\^my note]. If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. +[^3]: This is *easier* to type. Inline notes may contain + [links](http://google.com) and `]` verbatim characters. + |