Skip to content

Build your personal knowledge base with Trilium Notes

feat(docs): minor mermaid improvements

Elian Doranbdfb2300bb46
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index 70794da6ed..44cbbb32e2 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -9114,32 +9114,6 @@
"dataFileName": "math.gif",
"attachments": []
},
- {
- "isClone": false,
- "noteId": "fJ7nbsprnKr7",
- "notePath": [
- "pOsGYCXsbNQG",
- "Wxt3vVlxlYLi",
- "fJ7nbsprnKr7"
- ],
- "title": "mermaid.png",
- "notePosition": 460,
- "prefix": null,
- "isExpanded": false,
- "type": "image",
- "mime": "image/png",
- "attributes": [
- {
- "type": "label",
- "name": "originalFileName",
- "value": "mermaid.png",
- "isInheritable": false,
- "position": 10
- }
- ],
- "dataFileName": "mermaid.png",
- "attachments": []
- },
{
"isClone": false,
"noteId": "TFAiJIXJFfqv",
diff --git a/docs/User Guide/User Guide/Attachments/mermaid.png b/docs/User Guide/User Guide/Attachments/mermaid.png
deleted file mode 100644
index 1c48d2aa6e..0000000000
Binary files a/docs/User Guide/User Guide/Attachments/mermaid.png and /dev/null differ
diff --git a/docs/User Guide/User Guide/Note Types/Mermaid Diagrams.md b/docs/User Guide/User Guide/Note Types/Mermaid Diagrams.md
index efa2d7c9d3..dd9a124616 100644
--- a/docs/User Guide/User Guide/Note Types/Mermaid Diagrams.md
+++ b/docs/User Guide/User Guide/Note Types/Mermaid Diagrams.md
@@ -23,6 +23,7 @@ It's possible to switch between the two layouts at any time by pressing the ![](
* The preview can be moved around by holding the left mouse button and dragging.
* Zooming can also be done by using the scroll wheel.
* The zoom and position on the preview will remain fixed as the diagram changes, to be able to work more easily with large diagrams.
+* The size of the source/preview panes can be adjusted by hovering over the border between them and dragging it with the mouse.
* In the [Floating buttons](../Basic%20Concepts%20and%20Features/UI%20Elements/Floating%20buttons.md) area:
* The source/preview can be laid out left-right or bottom-top via the _Move editing pane to the left / bottom_ option.
* Press _Lock editing_ to automatically mark the note as read-only. In this mode, the code pane is hidden and the diagram is displayed full-size. Similarly, press _Unlock editing_ to mark a read-only note as editable.
diff --git a/src/public/app/doc_notes/en/User Guide/!!!meta.json b/src/public/app/doc_notes/en/User Guide/!!!meta.json
index 0c83f2046a..c4514d7228 100644
--- a/src/public/app/doc_notes/en/User Guide/!!!meta.json
+++ b/src/public/app/doc_notes/en/User Guide/!!!meta.json
@@ -9114,32 +9114,6 @@
"dataFileName": "math.gif",
"attachments": []
},
- {
- "isClone": false,
- "noteId": "fJ7nbsprnKr7",
- "notePath": [
- "pOsGYCXsbNQG",
- "Wxt3vVlxlYLi",
- "fJ7nbsprnKr7"
- ],
- "title": "mermaid.png",
- "notePosition": 460,
- "prefix": null,
- "isExpanded": false,
- "type": "image",
- "mime": "image/png",
- "attributes": [
- {
- "type": "label",
- "name": "originalFileName",
- "value": "mermaid.png",
- "isInheritable": false,
- "position": 10
- }
- ],
- "dataFileName": "mermaid.png",
- "attachments": []
- },
{
"isClone": false,
"noteId": "TFAiJIXJFfqv",
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Attachments/mermaid.png b/src/public/app/doc_notes/en/User Guide/User Guide/Attachments/mermaid.png
deleted file mode 100644
index 1c48d2aa6e..0000000000
Binary files a/src/public/app/doc_notes/en/User Guide/User Guide/Attachments/mermaid.png and /dev/null differ
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams.html
index 95b8d98fac..46b8a133a6 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Mermaid Diagrams.html
@@ -56,6 +56,8 @@
changes, to be able to work more easily with large diagrams.</li>
</ul>
</li>
+ <li>The size of the source/preview panes can be adjusted by hovering over
+ the border between them and dragging it with the mouse.</li>
<li>In the&nbsp;<a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Floating%20buttons.html">Floating buttons</a>&nbsp;area:
<ul>
<li>The source/preview can be laid out left-right or bottom-top via the <em>Move editing pane to the left / bottom </em>option.</li>
diff --git a/src/public/app/doc_notes/en/User Guide/navigation.html b/src/public/app/doc_notes/en/User Guide/navigation.html
index 3642a03432..7da93090b1 100644
--- a/src/public/app/doc_notes/en/User Guide/navigation.html
+++ b/src/public/app/doc_notes/en/User Guide/navigation.html
@@ -498,8 +498,6 @@
</li>
<li><a href="User%20Guide/Attachments/math.gif" target="detail">math.gif</a>
</li>
- <li><a href="User%20Guide/Attachments/mermaid.png" target="detail">mermaid.png</a>
- </li>
<li><a href="User%20Guide/Attachments/mobile-smartphone.png" target="detail">mobile-smartphone.png</a>
</li>
<li><a href="User%20Guide/Attachments/mobile-tablet.png" target="detail">mobile-tablet.png</a>