Is there a bundle or macro available which would enable me to write footnotes in plain text/markdown? In markdown there is a footnote notation for hyperlinks, but I haven't seen any easy way to use it in Textmate yet. ;)
Dan
Dan,
Dr. Drang's command/macro/snippet 'thingy'[1] could be easily modified to do this I think---or at least it is a significant first step. I was thinking of trying my hand at it this summer when I have more time.
Best, Mark
[1] http://www.leancrew.com/all-this/2006/03/ markdown_links_in_textmate_the.html On 7 May 2006, at 12:08, Daniel Käsmayr wrote:
Is there a bundle or macro available which would enable me to write footnotes in plain text/markdown? In markdown there is a footnote notation for hyperlinks, but I haven't seen any easy way to use it in Textmate yet. ;)
Dan ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 07.05.2006, at 13:08, Daniel Käsmayr wrote:
Is there a bundle or macro available which would enable me to write footnotes in plain text/markdown? In markdown there is a footnote notation for hyperlinks, but I haven't seen any easy way to use it in Textmate yet. ;)
In MultiMarkdown Footnotes[^footnotes] are a built-in feature and the command mentioned can most easily be adapted to insert such a footnote.
Soryu
[^footnotes]: See here: http://fletcher.freeshell.org/wiki/ MultiMarkdown#footnotes
The link to the wiki returns: "Could not get visitors lock: Check whether the web server can create the directory /www/af/f/fletcher/wiki/wikidb/temp and whether it can create files in it." On 5/7/06, Soryu Soryu@serenity.de wrote:
On 07.05.2006, at 13:08, Daniel Käsmayr wrote:
Is there a bundle or macro available which would enable me to write footnotes in plain text/markdown? In markdown there is a footnote notation for hyperlinks, but I haven't seen any easy way to use it in Textmate yet. ;)
In MultiMarkdown Footnotes[^footnotes] are a built-in feature and the command mentioned can most easily be adapted to insert such a footnote.
Soryu
[^footnotes]: See here: http://fletcher.freeshell.org/wiki/ MultiMarkdown#footnotes
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
I got the same error but the following URL works (and is on the correct page for info on footnotes in MultiMarkdown):
http://fletcher.freeshell.org/wiki/MultiMarkdown
Best, Mark On 7 May 2006, at 20:37, Lewis Overton wrote:
The link to the wiki returns: "Could not get visitors lock: Check whether the web server can create the directory /www/af/f/fletcher/wiki/wikidb/temp and whether it can create files in it." On 5/7/06, Soryu Soryu@serenity.de wrote:
On 07.05.2006, at 13:08, Daniel Käsmayr wrote:
Is there a bundle or macro available which would enable me to write footnotes in plain text/markdown? In markdown there is a footnote notation for hyperlinks, but I haven't seen any easy way to use it in Textmate yet. ;)
In MultiMarkdown Footnotes[^footnotes] are a built-in feature and the command mentioned can most easily be adapted to insert such a footnote.
Soryu
[^footnotes]: See here: http://fletcher.freeshell.org/wiki/ MultiMarkdown#footnotes
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On May 7, 2006, at 9:09 AM, Soryu wrote:
In MultiMarkdown Footnotes[^footnotes] are a built-in feature and the command mentioned can most easily be adapted to insert such a footnote.
Soryu
[^footnotes]: See here: http://fletcher.freeshell.org/wiki/ MultiMarkdown#footnotes
Be aware that footnotes are not yet a standard feature of Markdown (I'm taking John Gruber's version to be the standard), so you'll be unable to process [^foot]-style footnotes in most, if not all, non- MultiMarkdown implementations.
Gruber himself *does* use footnotes on his Daring Fireball site, and the best way to do footnotes has been much discussed on the Markdown mailing list. A good thread on the topic starts [here][1].
I have a couple of longish flights coming up at the end of this week, and will probably use that dead time to modify my TM link snippets to handle footnotes in the MultiMarkdown style. Don't make any summer plans until you hear back from me ;)
-- Dr. Drang
[1]: http://six.pairlist.net/pipermail/markdown-discuss/2005-July/ 001401.html
On 5/8/06, Dr. Drang drdrang@gmail.com wrote:
I have a couple of longish flights coming up at the end of this week, and will probably use that dead time to modify my TM link snippets to handle footnotes in the MultiMarkdown style.
Sorry about the blogwhoring, but I'm too tired to write up a proper mailing list post. The command/snippet/macro combination for MultiMarkdown footnotes in TM is described [here][1].
Thanks Dr. Drang, but are you sure that MM footnotes can't take a single digit after the caret? That hasn't been my experience. Best, Mark On 11 May 2006, at 05:07, Dr. Drang wrote:
On 5/8/06, Dr. Drang drdrang@gmail.com wrote:
I have a couple of longish flights coming up at the end of this week, and will probably use that dead time to modify my TM link snippets to handle footnotes in the MultiMarkdown style.
Sorry about the blogwhoring, but I'm too tired to write up a proper mailing list post. The command/snippet/macro combination for MultiMarkdown footnotes in TM is described [here][1].
-- Dr. Drang
multimarkdown_footnotes_in_tex.html
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 5/11/06, Mark Eli Kalderon m.kalderon@ucl.ac.uk wrote:
Thanks Dr. Drang, but are you sure that MM footnotes can't take a single digit after the caret? That hasn't been my experience.
When the input is
---------------------------------------
Let's[^1] try[^2].
[^1]: First footnote.
[^2]: Second footnote.
---------------------------------------
the output is
---------------------------------------
<p>Let's<a href="#" name="f" class="footnote">1</a> try<a href="#" name="f" class="footnote">2</a>.</p>
<div class="footnotes"> <hr /> <p>Footnotes:</p>
<div id=""><p><a href="#f" class="reversefootnote">1.</a> Second footnote.</p></div>
<div id=""><p><a href="#f" class="reversefootnote">2.</a> Second footnote.</p></div>
</div>
---------------------------------------
which is clearly wrong. I used a freshly-downloaded MultiMarkdown.pl. If I change the input to
---------------------------------------
Let's[^fn1] try[^fn2].
[^fn1]: First footnote.
[^fn2]: Second footnote.
---------------------------------------
the output is
---------------------------------------
<p>Let's<a href="#fn1" name="ffn1" class="footnote">1</a> try<a href="#fn2" name="ffn2" class="footnote">2</a>.</p>
<div class="footnotes"> <hr /> <p>Footnotes:</p>
<div id="fn1"><p><a href="#ffn1" class="reversefootnote">1.</a> First footnote.</p></div>
<div id="fn2"><p><a href="#ffn2" class="reversefootnote">2.</a> Second footnote.</p></div>
</div>
---------------------------------------
which is correct (although I would prefer there be no "Footnotes" paragraph). As I said in the post, I haven't looked at the code to see why MM fails to format single-digit markers when there are multiple footnotes--it just so happened that my first example was done that way. It may fail under other legitimate input, too.
If I get a chance tonight, I'll look at the MM code and try to figure it out.