joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Mermaid: Unable to use <br> to force wrap lines in timeline chart

Open bsavant opened this issue 6 months ago • 0 comments

Operating system

macOS

Joplin version

Joplin 3.0.14

Desktop version info

Joplin 3.0.14 (prod, darwin)

Client ID: 1dfa99475d17480db74956dc092b7dfc Sync Version: 3 Profile Version: 47 Keychain Supported: Yes

Revision: 05cf51e

Backup: 1.4.1 Draw.io: 2.2.0 Embed Search: 2.0.0 Freehand Drawing: 2.11.0 Inline tags: 1.3.0 Insert Date: 1.0.1 Note Tabs: 1.4.0 Quick Links: 1.4.1 Rich Markdown: 0.15.0 Templates: 2.4.0

Current behaviour

Create a note with the following Mermaid:

```mermaid
timeline
	section Line One <br> Line Two
		Step One: a
		Step Two: d

Expected behaviour

Per the mermaid documentation for 10.9.1, it should render with a forced line break between Line One and Line Two, as it does on mermaid.live.

Joplin

image

Mermaid Live

image

Logs

No response

bsavant avatar Jul 30 '24 18:07 bsavant