This package has been deprecated

Author message:

The author does not use Hexo any more. This plugin is no longer maintained.

hexo-diagram

0.0.10 • Public • Published

hexo-diagram

Features

Render diagrams in your blog:

  • Sequence Diagram - powered by Jumly
  • Robustness Diagram - powered by Jumly
  • Flow Chart - powered by flowchart.js

See those renders' website for help information on syntax.

Limitations of flowchart

  • Diagrams are generated statically. Any interactive features (i.e. node links) will be lost.
  • Custom styling is not supported.

Those issues will be fixed in later versions.

Install

npm install hexo-diagram --save

Usage

Syntax:


```[diagram_type]
[diagram_code]
```

Valid diagram_type values are:

  • sequence
  • robustness
  • flow

If user does not specify one, sequence will be used as default.


```sequence
@found "You", ->
  @message "Think", ->
    @message "Write your idea", "JUMLY", ->
      @create "Diagram"
jumly.css "background-color":"#8CC84B"
```

For more information on how to write jumly syntax, visit Jumly.

Package Sidebar

Install

npm i hexo-diagram

Weekly Downloads

1

Version

0.0.10

License

GPLv2

Last publish

Collaborators

  • akfish