hexo sequence

1
2
3
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
Read more

hexo-plugin-sequence

hexo-filter-sequence

Generate UML sequence diagrams for Hexo.

Install
1
npm install --save hexo-filter-sequence
Config

In your site’s _config.yml:

1
2
3
4
5
6
7
8
9
sequence:
# webfont: # optional, the source url of webfontloader.js
# snap: # optional, the source url of snap.svg.js
# underscore: # optional, the source url of underscore.js
# sequence: # optional, the source url of sequence-diagram.js
# css: # optional, the url for css, such as hand drawn theme
options:
theme:
css_class:
Read more

hexo-plugin-flowchart

hexo-filter-flowchart

Generate flowchart diagrams for Hexo.

Install
1
npm install --save hexo-filter-flowchart
Config

In your site’s _config.yml:

1
2
3
4
flowchart:
# raphael: # optional, the source url of raphael.js
# flowchart: # optional, the source url of flowchart.js
options: # options used for `drawSVG`
Read more

hexo flow

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
st=>start: Start|past:>http://www.google.com[blank]
e=>end: End:>http://www.google.com
op1=>operation: My Operation|past
op2=>operation: Stuff|current
sub1=>subroutine: My Subroutine|invalid
cond=>condition: Yes
or No?|approved:>http://www.google.com
c2=>condition: Good idea|rejected
io=>inputoutput: catch something...|request

st->op1(right)->cond
cond(yes, right)->c2
cond(no)->sub1(left)->op1
c2(yes)->io->e
c2(no)->op2->e
Read more

hexo config

hexo

hexo安装

1
npm install hexo-cli -g

初始化博客

1
hexo init blog
1
npm install

博客构建

1
hexo g

初始化博客

1
hexo s

发布博客

1
hexo d
Read more