Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#2907·plantuml

[js-plantuml] Improve `js-plantuml` editor (to be similar to `editor.plantuml.com`)

Author: The-LumCreated Sep 27, 2026Updated Sep 27, 2026
Labelsenhancementgood first issuejavascriptjsplantumlfor-claude

Wanted feature

  • Could you improve js-plantuml editor? (to be similar to editor.plantuml.com)

Here are some improvments:

  • Allow empty line before @startuml,
  • Add automatically header and trailer (@startuml/@enduml) if missing,
  • ...

Examples

Working examples on https://editor.plantuml.com ✔️

Add a newline on first line:


@startuml
a->b
@enduml

Not working example on https://plantuml.github.io/plantuml/js-plantuml/ ❌

Add a newline on first line:


@startuml
a->b
@enduml

[!WARNING] Diagram not supported by this release of PlantUML

Sorry, but the following directive is not recognized.

Working examples on https://editor.plantuml.com ✔️

Automatically add header and trailer (@startuml/@enduml) if missing:

puml
a->b

Not working example on https://plantuml.github.io/plantuml/js-plantuml/ ❌

Automatically add header and trailer if missing:

puml
a->b

[!WARNING] Diagram not supported by this release of PlantUML

Sorry, but the following directive a->b is not recognized.

Regards, Th.

Source: plantuml/plantuml

View original on GitHubView discussion on GitHub