返回 slidev
plantuml.md
根目录 / docs / features / plantuml.md
1 ---
2 relates:
3 - Plant UML: https://plantuml.com/
4 - Plant UML Live Editor: https://plantuml.com/plantuml
5 - Example Slide: https://sli.dev/demo/starter/12
6 - features/mermaid
7 tags: [diagram]
8 description: |
9 Create diagrams from textual descriptions, powered by PlantUML.
10 ---
11
12 # PlantUML Diagrams
13
14 You can create PlantUML diagrams easily in your slides, for example:
15
16 ````md
17 ```plantuml
18 @startuml
19 Alice -> Bob : Hello!
20 @enduml
21 ```
22 ````
23
24 The source code will be sent to https://www.plantuml.com/plantuml to render the diagram by default. You can also set up your own server by setting the `plantUmlServer` in the [Slidev configuration](../custom/index#headmatter).
25
26 Visit the [PlantUML Website](https://plantuml.com/) for more information.
27
27 lines MARKDOWN