🏭 A Chrome / Firefox extension for visualizing PlantUML descriptions.
- Chrome: https://chrome.google.com/webstore/detail/plantuml-visualizer/ffaloebcmkogfdkemcekamlmfkkmgkcf
- Firefox: https://addons.mozilla.org/firefox/addon/plantuml-visualizer/
- File Viewer
- Issues: WillBooster#54
- Pull Requests
- Added: https://github.com/WillBooster/plantuml-visualizer/pull/49/files
- Deleted: https://github.com/WillBooster/plantuml-visualizer/pull/50/files
- Changed: https://github.com/WillBooster/plantuml-visualizer/pull/24/files
!include
directive: https://github.com/WillBooster/plantuml-visualizer/pull/423/files
- Code blocks in README or something
- Any page containing
<pre>
tag with prefix@startuml
and suffix@enduml
(We will list GitLab pages with testing urls later)
- GitHub Raw Files (only Chrome)
- https://raw.githubusercontent.com/WillBooster/plantuml-visualizer/master/puml-sample/class.pu
!include
directive: https://raw.githubusercontent.com/WillBooster/plantuml-visualizer/master/puml-sample/state.pu- IMPORTANT NOTE: any extension on Firefox cannot work on GitHub Raw Files due to https://bugzilla.mozilla.org/show_bug.cgi?id=1411641
- Local Files
- file:///C:/Users/XXX/Projects/plantuml-visualizer/puml-sample/class.pu
!include
directive for local files will NOT be supported because of security problems- Please use another software for rich rendering of local files (e.g. the official PlantUML renderer: https://plantuml.com/en/starting)
- IMPORTANT NOTE: if you use Google Chrome, you need to allow this extension to access file URLs
We are waiting issues and pull requests!
- issue
- pull request
The visualization result of https://github.com/WillBooster/plantuml-visualizer/pull/24/files is as follows.
The default server is https://willbooster-plantuml.herokuapp.com (source code). You may check the PlantUML version via this link.
You may use another HTTPS PlantUML server by changing settings in the configuration window.
Please check the detailed versions in GitHub Actions like the below screenshot.
yarn
to install the latest dependenciesyarn build
- Open Chrome browser
- Open chrome://extensions
- Enable
Developer Mode
- Click
Load Unpacked
and opendist
directory (plantuml-visualizer/dist
)
yarn
to install the latest dependenciesyarn start
- Open Chrome
- Rewrite some code files
- Close and Reopen Chrome browser (not only tabs)
- or reload this extension in chrome://extensions and reload pages
- Debug code
- Go to
step 4
- Bump version in
manifest.json
andpackage.json
yarn package
- Open https://chrome.google.com/webstore/developer/dashboard
- Upload
dist.zip
- Bump version in
manifest.json
andpackage.json
yarn package
- Open https://addons.mozilla.org/en-US/developers/addon/plantuml-visualizer/edit
- Upload
dist.zip
file