Test Markdown Footnotes
Ignore this is a test article
June 28, 2016Add footnote syntax for silvrback
Footnotes in kramdown are similar to reference style links and link definitions. You need to place the footnote marker in the correct position in the text and the actual footnote content can be defined anywhere in the document.
More exactly, a footnote marker can be created by placing the footnote name in square brackets. The footnote name has to start with a caret (^), followed by a word character or a digit and then optionally followed by other word characters, digits or dashes. For example:
This is some text.1. Other text.2.
Footnote markers with the same name will link to the same footnote definition. The actual naming of a footnote does not matter since the numbering of footnotes is controlled via the position of the footnote markers in the document (the first found footnote marker will get the number 1, the second new footnote marker the number 2 and so on). If there is a footnote definition found for the identifier, a footnote will be created. Otherwise the footnote marker is not converted to a footnote link. Also note that all attributes set via a span IAL are ignored for a footnote marker!
Lorem ipsum dolor sit amet3, consectetur adipisicing elit, sed do eiusmod tempor4 incididunt ut labore etdolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation5 ullamco laboris nisi ut aliquip ex ea commodo consequat.
Inspired by tidbits6 and Carl Johnson7
-
This is a footnote. ↩
-
Blockquotes can be in a footnote. ↩
as well as code blocks
or, naturally, simple paragraphs.
-
This footnote will replace the first caret marker found in the text. ↩
-
This one will replace the first "cross." The syntaxes are auto-detected and interchangeable. ↩
-
This one replaces the second caret instance. ↩