add footnotes
[blog] / _posts / 2014-01-01-example-content.md
index 340d14af667fdc136ae960f3a89bc1ccb55a6bb6..6c0f875ab66aa5a84b63df8cfb4f4c00f3403d5d 100644 (file)
@@ -27,6 +27,22 @@ HTML defines a long list of available inline tags, a complete list of which can
 \r
 Most of these elements are styled by browsers with few modifications on our part.\r
 \r
+## Footnotes\r
+\r
+Footnotes are supported as part of the Markdown syntax. Here's one in action. Clicking this number[^fn-sample_footnote] will lead you to a footnote. The syntax looks like:\r
+\r
+{% highlight text %}\r
+Clicking this number[^fn-sample_footnote]\r
+{% endhighlight %}\r
+\r
+Each footnote needs the `^fn-` prefix and a unique ID to be referenced for the footnoted content. The syntax for that list looks something like this:\r
+\r
+{% highlight text %}\r
+[^fn-sample_footnote]: Handy! Now click the return link to go back.\r
+{% endhighlight %}\r
+\r
+You can place the footnoted content wherever you like. Markdown parsers should properly place it at the bottom of the post.\r
+\r
 ## Heading\r
 \r
 Vivamus sagittis lacus vel augue rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.\r
@@ -52,7 +68,7 @@ Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna m
 \r
 Vestibulum id ligula porta felis euismod semper. Nullam quis risus eget urna mollis ornare vel eu leo. Donec sed odio dui.\r
 \r
-{% gist 5555251 gist.md %}\r
+{% gist 13f94b734a4ddb132735 gist.md %}\r
 \r
 Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec sed odio dui. Vestibulum id ligula porta felis euismod semper.\r
 \r
@@ -85,6 +101,14 @@ Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at
 \r
 Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget urna mollis ornare vel eu leo.\r
 \r
+### Images\r
+\r
+Quisque consequat sapien eget quam rhoncus, sit amet laoreet diam tempus. Aliquam aliquam metus erat, a pulvinar turpis suscipit at.\r
+\r
+![placeholder](http://placehold.it/800x400 "Large example image")\r
+![placeholder](http://placehold.it/400x200 "Medium example image")\r
+![placeholder](http://placehold.it/200x200 "Small example image")\r
+\r
 ### Tables\r
 \r
 Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.\r
@@ -128,3 +152,6 @@ Nullam id dolor id nibh ultricies vehicula ut id elit. Sed posuere consectetur e
 -----\r
 \r
 Want to see something else added? <a href="https://github.com/poole/poole/issues/new">Open an issue.</a>\r
+\r
+[^fn-sample_footnote]: Handy! Now click the return link to go back.\r
+\r