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

too wide when using markdown #1431

Closed
bo-ku-ra opened this issue Jun 21, 2023 · 3 comments
Closed

too wide when using markdown #1431

bo-ku-ra opened this issue Jun 21, 2023 · 3 comments

Comments

@bo-ku-ra
Copy link
Contributor

https://play.d2lang.com/?l=&script=KsnPVyjPTEm1UqjmUlDIKMnNsVKoyU3hUlBQULABGZdYlJqoAPK6rZKxkkJyfk6xrZK5mZIdWEUiLgCWTSIBgDUkUwIgTtaHuRniQJukIn1crBquWi5AAAAA__8%3D&

image

too wide: {
  html: |md
    <textarea rows="3" cols="76">
    aaaaaaaaaaaaaaaaaaaaaaaaa
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
    ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
    </textarea>
    <br/>  <!----------------------------------------- Why is it necessary? <br/>------------------------------------>
    <br/>  <!----------------------------------------- Why is it necessary? <br/> ------------------------------------>
    <br/>  <!----------------------------------------- Why is it necessary? <br/> ------------------------------------>
  |
}
@amb007
Copy link

amb007 commented Jul 15, 2024

Does |md ever wrap long lines? Is the line width controllable?

@alixander
Copy link
Collaborator

@amb007 It does not wrap unfortunately. Though desirable, it's hard to do technically

@alixander
Copy link
Collaborator

We won't support the full set of HTML like textarea

@alixander alixander closed this as not planned Won't fix, can't repro, duplicate, stale Nov 19, 2024
@github-project-automation github-project-automation bot moved this to Done in D2 Nov 19, 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