Pegmatite is Google Chrome extension that replace PlantUML code blocks into preview images.
You will see below | But we see |
---|---|
- This extension is enabled only in
https://github.com/*
- Replace only code block with lang
uml
and starts with@start
- When the element clicked, element will toggle original code block and preview image.
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
@startuml
[*] --> State1
State1 --> [*]
State1 : this is a string
State1 : this is another string
State1 -> State2
State2 --> [*]
@enduml
These cannot preview.
@startuml
Foo -> Bar
@enduml
foo
bar
baz
- Fork (https://github.com/dai0304/pegmatite/fork)
- Create a feature branch named like
feature/something_awesome_feature
fromdevelopment
branch - Commit your changes
- Rebase your local changes against the
develop
branch - Create new Pull Request