Adding a second footnote crashes Marked
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.
- footnote_test.txt 1.44 KB
- marked_crash.txt 75.9 KB
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
Support Staff 1 Posted by Brett on 25 Jul, 2012 12:17 PM
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 Posted by Shane on 25 Jul, 2012 12:44 PM
Ah, operator error! Now that's something I can easily fix :)
Thanks Brett.
Brett closed this discussion on 30 Jul, 2012 05:33 PM.