[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-plantumleditor? (to be similar toeditor.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
@endumlNot 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:
a->bNot working example on https://plantuml.github.io/plantuml/js-plantuml/ ❌
Automatically add header and trailer if missing:
a->b[!WARNING] Diagram not supported by this release of PlantUML
Sorry, but the following directive
a->bis not recognized.
Regards, Th.
Source: plantuml/plantuml