Enable diagrams in notes via Mermaid
Similar to how it is supported in GitHub. See https://mermaid.js.org/
Both GFM style formatting (checkboxes, tables, etc.) and Mermaid diagrams are available now as early access for Max users in 15.0.610. Coming soon in general release.
-
homels rattan commented
看到這麼多人對TheBrain的AI功能提出建議真是有趣!我特別喜歡那個關於整合Mermaid圖表的點子,如果能直接在筆記裡畫流程圖就太方便了。最近正好在找https://mermaidviewer.com/ ,要是TheBrain能內建這個功能,我就不用在不同工具間切換了。希望開發團隊能考慮這個建議,這對視覺化思考的人來說會是很大的幫助!
-
Gene Rugg commented
Just as a gentle note, the github checkbox syntax seems to be "- [x]" rather than just "[x]", and the first isn't parsed well by TheBrain. This also is undocumented on the markdown-info page.
When I select multiple lines, I get code snippits per line rather than one triple backslash code block.
-
Roberto Luiz Martins Nogueira commented
The way it is Today, the notes tool does not accept and does not render code blocks to have syntax highlighting to a specific language e.g. for Ruby.
```ruby
:
` ``
The same for mermaid, even though is accepted by notes tool it does not render right now.
```mermaid
:
```New idea from comment
This comment was upgraded into a new idea: Enable Code Syntax Highlighting in Notes Editor -
Perhaps you'd like to change this to a request to support something more specific (mermaid?).
-
Note that code blocks are already supported. They can be initiate both via the UI and by entering them manually.
Also, checkboxes added using Github syntax are also already supported.
-
Roberto Luiz Martins Nogueira commented
Improve Markdown in TheBrain, supporting Github way of writing, e.g. create code blocks, diagrams (e.g. mermaid) see:
Writing on GitHub
https://docs.github.com/en/get-started/writing-on-github