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 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)
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: