I found it's best for me to keep a separate Code Block with my Mermaid flow source due to issues with line endings if I need to adjust my diagram by Convert to Text.
1. Adjust the source in the Code Block.
2. Paste into a new area on Amplenote using raw text (CMD-Shift-V)
3. Reapply the plugin.
I also keep the source in a collapsable header.
User #15497
11:23am on August 18, 2024
Thanks for the plugin and its update.
But after the update, the plugin stopped working with Cyrillic. This description below works in kroki.io, but does not work in Amplenote:
```
graph TD
A[текст] --> B[текст]
```
Error:
Failed _toDiagram - InvalidCharacterError: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
3 Comments
I found it's best for me to keep a separate Code Block with my Mermaid flow source due to issues with line endings if I need to adjust my diagram by Convert to Text.
1. Adjust the source in the Code Block.
2. Paste into a new area on Amplenote using raw text (CMD-Shift-V)
3. Reapply the plugin.
I also keep the source in a collapsable header.
Thanks for the plugin and its update.
But after the update, the plugin stopped working with Cyrillic. This description below works in kroki.io, but does not work in Amplenote:
```
graph TD
A[текст] --> B[текст]
```
Error:
Failed _toDiagram - InvalidCharacterError: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
Hey, thanks for the bug report. The issue is now fixed.
Leave a comment
Login to Amplenote to leave a comment