Neatly Prepared Mustache

    docpad-plugin-plantuml

    2.3.0 • Public • Published

    plantuml for DocPad

    Build Status NPM version NPM downloads Dependency Status Dev Dependency Status
    Gratipay donate button

    使用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?

    Gratipay donate button

    Contributors

    These amazing people have contributed code to this project:

    Become a contributor!

    License

    Unless stated otherwise all works are:

    and licensed under:

    Install

    npm i docpad-plugin-plantuml

    DownloadsWeekly Downloads

    1

    Version

    2.3.0

    License

    MIT

    Last publish

    Collaborators

    • windywany