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

Support @startuml anywhere in a document #85

Open
oliv3r opened this issue Apr 1, 2020 · 3 comments
Open

Support @startuml anywhere in a document #85

oliv3r opened this issue Apr 1, 2020 · 3 comments

Comments

@oliv3r
Copy link

oliv3r commented Apr 1, 2020

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.

@aklt
Copy link
Owner

aklt commented Jun 25, 2020

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?

@oliv3r
Copy link
Author

oliv3r commented Feb 18, 2022

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 :(

@baober90
Copy link

hi~ @oliv3r about "put plantuml statements in markdown documents", do you have some suggestions or other plugin? please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants