Skip to content

Commit

Permalink
Merge pull request #3 from mlthlschr/master
Browse files Browse the repository at this point in the history
added plantuml activity diagram (new syntax) to templates
  • Loading branch information
npgrosser committed Apr 26, 2022
2 parents e31aa1c + 5bbbba6 commit 67349b2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ const templates: Template[] = [
Bob -> Alice : Authentication Request
Bob <- Alice : Authentication Response
@enduml`)),
new InMemoryTemplate("plantuml", "PlantUML Activity Diagram (new)", dedent(`
@startuml
start
:Hello world;
:This is defined on
several **lines**;
stop
@enduml`)),
new InMemoryTemplate("plantuml", "PlantUML C4 Container Diagram", dedent(`
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
Expand Down Expand Up @@ -157,4 +165,5 @@ const templates: Template[] = [
];


export default templates;
export default templates;

0 comments on commit 67349b2

Please sign in to comment.