imathis/octopress — Issue #253: Create Footnote Workaround
Author: strand
Created: 2011-10-28 18:54:50+00:00
State: open

Create a workaround to allow [Markdown Extra style footnotes][-1] with a [leftwards arrow with a hook][0]. This workaround should let a blogger type a footnote '[^1]' and that text will be transformed into valid HTML5. There currently exists a [pull request for a similar functionality in RDiscount][pull], but that is moving slowly.

[^1]: This is a footnote.

For background review the twitter conversation captured below.

Twitter conversation between @octopress, @austintaylor and @strand (@strabd on twitter).

> [@austintaylor][1] @octopress Also, is there a good way to do footnotes?
> [@octopress][2] @austintaylor Neither redcarpet nor Rdiscount have support for footnotes yet. Other markdown processors slaughter html5. Gotta wait. :(
> [@strabd][3] @octopress Does it make sense to create a Liquid tag to fill the gap till a decent Markdown translator has this feature? @austintaylor
> [@octopress][4] @Strand @austintaylor Ideally it would process the post content and work just like the markdown extension. post_filters might help.
> [@austintaylor][5] @octopress Speaking of, did you see my reply on the HTML5 thing? [github.com/rtomayko/rdisc…][5A]
> [@octopress][6] @Strand @austintaylor but yeah, I think it makes sense, but only if it functions just like markdown. I'm hoping to write this eventually.
> [@strabd][7] @octopress There's already a pull request for footnotes in RDiscount, [github.com/rtomayko/rdisc…][7A] but I'll look at post_filters. @austintaylor
> [@octopress][8] @austintaylor ah yes. I did see that. Not sure what to do about it though. They seem a fairly unresponsive bunch.

[-1]: http://michelf.com/projects/php-markdown/extra/#footnotes
[0]: http://daringfireball.net/2005/07/footnotes
[1]: http://twitter.com/#!/austintaylor/status/123419007322832897
[2]: http://twitter.com/#!/octopress/status/123421373006757888
[3]: http://twitter.com/#!/Strabd/status/129695128439885827
[4]: http://twitter.com/#!/octopress/status/129696146670104577
[5]: http://twitter.com/#!/austintaylor/status/129742261771698178
[5A]: https://github.com/rtomayko/rdiscount/issues/21#issuecomment-2349494
[6]: http://twitter.com/#!/octopress/status/129696613949120513
[7]: http://twitter.com/#!/Strabd/status/129701281794228225
[7A]: https://github.com/rtomayko/rdiscount/pull/34
[8]: http://twitter.com/#!/octopress/status/129742890191683584
[pull]: https://github.com/rtomayko/rdiscount/pull/34