-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Sequence Diagram is there any way to make some parts of the text in bold? #1844
Comments
Currently, I don't think there is a way to do this; You could mark this as a feature request, or fork the project. Here's a place to start: mermaid/src/diagrams/sequence/svgDraw.js Line 21 in e08ae8e
|
I am 'old' to Mermaid and I am surprised to see that after changing to Mermaid 8.12 things like Bold using <b>The Bold Text </b> (My Text in Bold) and Italics using <i>The Italic Text </i> (My Text in Italics) have stopped working, which was working in Version 7.03 as I am now having to stick using it. Which is a shame |
I am 'new' to Mermaid and came across this while looking to do the same thing. It's disheartening to know that it used to work but doesn't now. |
I'm not surprised that HTML tags don't work, but am surprised that markdown inside graph labels doesn't work. |
any answer on this ? |
ping |
pong |
This is very unfortunate |
just adding mine to the voices |
Same here |
It would be very useful to have mono-formatted text (i.e. back-ticked markdown like (rendering via v9.4.0) |
Same here. Also would be interested in having the possibility to declare |
hi @jgreywolf, |
yes please promote |
Done. Will also research a bit why support ended |
I've recently found success through enabling |
Interestingly |
I would also like this feature |
is this still working for you? Does not work for me with |
I'd like to just add on here that if Mermaid is going to support html in sequence diagrams (or other places), it would be extraordinarily useful to be able to wrap a block of text in a <div/> and set the width with styles, rather than having to litter my text with manual <br/> tags. Keeping the line-breaks up to date while your text is changing is definitely a pain point. |
It worked for me while creating bold and italics text within Mermaid diagrams in Notion. Hope this helps
|
The simple wish is to have the possibility to
This idea seems to be around for a while, e.g. here 6ffe9c8 |
This would be helpful in sequence diagram. |
First of all, thank you for an amazing product.
I was trying to convert some diagrams from sequencediagram.org to the flavor that is used inside mermaid.
I wanted to be able to emphasize/bold some text, either using Markdown or pure HTML, but it seems not to work.
note right of A: <b>BOLD ME</b> <em>EMPHASIZE</em> but not respected as a command.
Help us help you!
You want an answer. Here are some ways to get it quicker:
The text was updated successfully, but these errors were encountered: