DocPad
plantuml for使用plantuml将uml或puml结尾的文件转换成svg图片文件,目前无法转成png文件,遗憾。
Convention: .svg.(uml|puml)
Install
docpad install plantuml
Configure
为了性能,请在docpad的配置文件中添加以下配置:
events: extendCollections: (opts) -> @docpad.getCollection('documents').on('add', (document) -> if document.toJSON().outExtension is 'svg' document.setMetaDefaults(standalone:true) )
特别注意
请在puml的文件开头即@startuml之前添加二个空行,切记~~~
History
Discover the change history by heading on over to the HISTORY.md
file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Backers
Maintainers
These amazing people are maintaining this project:
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
License
Unless stated otherwise all works are:
- Copyright © ninngf windywany@gmail.com (https://github.com/ninggf/)
and licensed under:
- The incredibly permissive MIT License