marked and cross references

Mathew's Avatar


06 Oct, 2011 12:03 PM

ByWord has a very nice example document. I'm new to markdown and multi markdown. One of the very nice features in their example document is the use of cross references in longer documents. When I open a file with cross refs in ByWord these links work perfectly. When I open in Marked they don't. Instead I just see the underlying code, e.g.:

Summary [section-summary]

Am I doing something wrong? Or will a future version of Marked allow for cross refs? These are actually quite important to me.

BTW, love Marked and looking forward to 1.3 release!

  1. Support Staff 1 Posted by Brett on 06 Oct, 2011 01:29 PM

    Brett's Avatar

    Hi Matthew,

    The version of MultiMarkdown 3 that is used in Marked required cross-reference targets to be headlines: `## Section 1 [sect1]`. A link to that would look like `[Linked text][sect1]`.


  2. 2 Posted by Mathew T. Mitch... on 06 Oct, 2011 02:07 PM

    Mathew T. Mitchell's Avatar

    I believe my links are in the format you. For example I use:

    Preparation [section-preparation]

    with the link to it being: [Preparation][section-preparation]

    All this works fine in ByWord. But when I open in Marked what I see is just this code, not an actual link. (Note: links I've written in Byword to URLs show up in Marked just fine).

    I'm attaching a sample document that shows up fine in ByWord, but cross refs don't work in Marked.

    I realize I may be doing something wrong, but it seems like I'm on target. Perhaps there's some small detail I'm messing up on.

  3. Support Staff 3 Posted by Brett on 06 Oct, 2011 02:16 PM

    Brett's Avatar

    I just tested your document in the new version of Marked, and it works perfectly, but version 1.2 might have something strange going on. I updated the version of MultiMarkdown for 1.3, so this should fix it. The new version should be out today or tomorrow. It's been approved, I just need to get some press materials ready for the release.

  4. 4 Posted by Mathew T. Mitch... on 06 Oct, 2011 02:19 PM

    Mathew T. Mitchell's Avatar

    Gotcha. Okay, now I'm mega excited about 1.3!!!!! As I understand it 1.3 will allow for multiple custom CSS styles (this is a huge improvement for me). I'm very happy to hear MMD has been updated also. Six months ago I didn't even know about Marked. Today I can't imagine working without it. Killer app.

  5. Support Staff 5 Posted by Brett on 06 Oct, 2011 02:26 PM

    Brett's Avatar

    Thanks for the kind words :). Look for the update soon!

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

Keyboard shortcuts


? 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