I just start to use mermaid code in markdown file, as I know, the DEVONthink version is 3.8.7(the latest version), and the DTTG version is 3.6.3. I tried the mermaid mindmap code in other markdown editor, it renders well:
I have known that the other markdown editor also use mermaid version 9.3.0, but I don’t know why the dt and dttg render the code failed.
here is the code:
mindmap
root((mindmap))
Origins
Long history
::icon(fa fa-book)
Popularisation
British popular psychology author Tony Buzan
Research
On effectiveness<br/>and features
On Automatic creation
Uses
Creative techniques
Strategic planning
Argument mapping
Tools
Pen and paper
Mermaid
and I noticed that, after trying all the graph types from mermaid document, only the mindmap code fails to be rendered in dt and dttg.
Mindmap is declared as “experimental”, quite loudly.
And if you scroll down on the page you’re linking to, you’ll see that it needs an additional JavaScript file. Which DT does not include by default (of course, given that the stuff is experimental). So, try adding this JS file to your MD and see if that works.
PS: The behavior of one application is not indicative of the behavior of another application. This is especially true in indie / artisinal software as many developers will implement proprietary, non-standard, or uncommon features in their apps. Adherence to standards when possible is something to think about when comparing and shopping for apps.