Marked 3: including Bike outlines as Mermaid mindmaps

As of today’s Version 3.0.18 (1147) of Brett Terpstra’s new Marked 3 previewing app, Bike outlines can be transcluded inside Markdown documents, and displayed as mindmaps.

Thus from:

## Here is a heading 

And some text before the inclusion.

<<[~/Desktop/Condillac1798.bike]

with some more text after.

to something like:

(notice the zoom etc controls)

To enable Mermaid transclusion of Bike outlines in Marked 3, check:

Marked 3 > Settings ... > Apps > Mind maps and outlines > Bike outlines

Initial caveat:

Just enabled by a release today, and I notice one glitch (already reported) – for some reason it doesn’t yet tolerate the use, within Bike outline text, of a closing curly brace character }.
(Perhaps unescaped and clashing with some Mermaid syntax ?)

If you need to use } in the context, for example of citation references like:

{Condillac, 1798 #10539}

then, empirically, a temporary fix turns out to be to double the bracketing

{{Condillac, 1798 #10539}}

(Which makes me wonder whether an XSLT template transform is at work somewhere in Marked or Mermaid)

1 Like

Thanks for the tip!

The link to Marked 3 isn’t working for me. Not sure if it’s a forum problem, or just bad link?

Is there a release notes page with this mention?

1 Like

Thanks – link above fixed and pointing here:

Marked - The Ultimate Markdown Preview and Converter

Bike inclusion as Mermaid mindmap is detailed in the Marked docs here:

and appeared in the changelog today:

Changelog – Version Marked 3.0.18 (1147)

2 Likes

This is very useful!
Though, I wonder if there are more glitches in the rendering? I can’t seem to get some Bike files to render as diagrams with more than the filename displayed:

others end up with a syntax error (same .bike file opens normally in Marked):

Or maybe I’m just doing something wrong. I do hope this eventually gets ironed out by Marked devs.

I exactly received the same syntax error, but don’t know why, I will post this to Marked forum.

1 Like

Just one dev, I think.

It will be helpful to Brett if you can post a minimal and reproducible example here: https://support.markedapp.com

Now fixed in Marked Version 3.0.19 (1148)

2 Likes

Thanks for pointing people to this @complexpoint. I’ve done a terrible job of keeping up with informing all of the app developers I add support for…

5 Likes

Thanks for including Bike!

i tried this with V3.0.25, but got the same error

Something to log with the Marked support forum, I think.

( worth isolating what is choking it, if you can - progressively subdividing your document into a residual half that works, and a half that fails ?)

Something Brett hasn’t seen ? CJK punctuation ? Rarer emoji ?