plantuml-syntax
plantuml-syntax copied to clipboard
Support @startuml anywhere in a document
While getting the data from the first line is probably from a performance pov the most desirable, but with PlantUML also being integrated in other bits and parts (within markdown for example, one can do
```plantuml
@startuml...
and so having syntax highlighting within markdown would be very nice to have.
The same can be said for other languages of course, like within code comments etc.
Yes, that sounds like a goo idea!
However, I do not think that this plugin imposes a limit on where you
can place the @startuml
.
What are you doing to get include the @startuml
in a fenced code block?
Sorry @aklt for the extremly late reply. I was just looking for a plantuml plugin, thinking I didn't have one, found this repo, was like oh cool, read the readme and figured, oh this requires an issue :)
Anyway, I think it is becoming quite common to put plantuml statements in markdown documents.
For example:
# Chapter 1
Some text
## PlantUML example
@startuml
Alice -> Bob : Hello
@enduml
Some final words
Right now, it just confuses Vi because it doesn't know if it's plantuml or markdown :(
hi~ @oliv3r about "put plantuml statements in markdown documents", do you have some suggestions or other plugin? please