Skip to content
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

Usage of markdown syntax in sequence diagram comments #1743

Open
WilbertOnGithub opened this issue Nov 22, 2023 · 0 comments
Open

Usage of markdown syntax in sequence diagram comments #1743

WilbertOnGithub opened this issue Nov 22, 2023 · 0 comments

Comments

@WilbertOnGithub
Copy link

We can use the following syntax to create a comment on the foo element in a sequence diagram.

foo."This is a comment"

Since D2 also supports markdown syntax, I was expecting the following syntax to also work.

foo.|md
    # My markdown text here
    - list
    - list
|

This work without any syntax errors but the formatting supplied by Markdown is not applied. So the text is correctly rendered in the sequence diagram as a comment, but the header text stays the same.

Am I missing something or is this simply not supported for now?

@cyborg-ts cyborg-ts added this to D2 Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant