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

How to Multiline? #2088

Closed
drskoolie opened this issue Sep 8, 2024 · 1 comment
Closed

How to Multiline? #2088

drskoolie opened this issue Sep 8, 2024 · 1 comment

Comments

@drskoolie
Copy link

I have really long strings that I want to separate over new lines. How do I do that?

x: """
My Long String
"""

This doesn't work

@cyborg-ts cyborg-ts added this to D2 Sep 8, 2024
@bo-ku-ra
Copy link
Contributor

bo-ku-ra commented Sep 8, 2024

could you read the d2 docs.
https://d2lang.com/tour/troubleshoot/#the-text-is-rendered-too-widelong
https://d2lang.com/tour/text/#standalone-text-is-markdown

@github-project-automation github-project-automation bot moved this to Done in D2 Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants