hexo-local-plantuml

0.0.1 • Public • Published

hexo-local-plantuml

This plugin generates the PlantUML images locally rather than using the service at http://www.plantuml.com/plantuml/.

This is necessary if you are using Hexo for private work and don't want your diagrams bounced off an external server.

Installation

$ npm install hexo-local-plantuml --save

Usage

{% plantuml %}
@startuml
Bob->Alice : hello
@enduml
{% endplantuml %}

Also you can put your definition in a "puml" or "plantuml" code block.

```puml
@startuml
Class01 <|-- Class02
@enduml
```

Configuration

You can configure this plugin in _config.yml.

plantuml:
  format: svg            # default is png
  asset_path: plant_uml  # default is puml
  svg_object: true       # use <object> Tag for svg files.

Additional requirements

Readme

Keywords

Package Sidebar

Install

npm i hexo-local-plantuml

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • t-kiyono