Adding a second footnote crashes Marked

Shane's Avatar

Shane

25 Jul, 2012 10:38 AM

I'm editing a markdown file in Byword and previewing it in Marked. The file is hosted in my Dropbox folder (not sure if that's relevant but it can't hurt to add the information).

I can add one footnote using [^fn] just fine. Anytime I add another footnote anywhere in the document and hit Cmd-S to save, Marked crashes. I'm new to markdown so I'm happy to accept that I'm doing something horribly wrong with the syntax, although my previous experience with Marked is that it is robust enough to handle operator error like that.

Markdown file with two footnotes is attached. I've also attached a copy of the crash report generated by OS X.

And if it helps, it's a 7,1 MacBook that is as far as I know running the latest version of Lion.

  1. Support Staff 1 Posted by Brett on 25 Jul, 2012 12:17 PM

    Brett's Avatar

    Hi Shane,

    It's because you're defining the same footnote twice. Each footnote has to have a unique identifier, so you'd want to use something like [^fn1] and [^fn2]. The footnote identifier can be anything you want, you're not limited to "fn" either.

  2. 2 Posted by Shane on 25 Jul, 2012 12:44 PM

    Shane's Avatar

    Ah, operator error! Now that's something I can easily fix :)

    Thanks Brett.

  3. Brett closed this discussion on 30 Jul, 2012 05:33 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac