hexo-filter-flowchart
hexo-filter-flowchart copied to clipboard
draw two same svg pics in homepage.
when I write mkdown as:
title: umlchart date: 2017-06-12 13:41:12 tags: ['chart','uml','sequence']
This is flow
And This is seq
flow
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
When I use default hexo theme to generate static page. This flowchart will draw two same svg pics on my homepage. But when I click the post. There is only one pic left.
hexo version
hexo: 3.3.7 hexo-cli: 1.0.3 os: Darwin 16.4.0 darwin x64 http_parser: 2.7.0 node: 7.3.0 v8: 5.4.500.45 uv: 1.10.1 zlib: 1.2.8 ares: 1.10.1-DEV modules: 51 openssl: 1.0.2j icu: 58.1 unicode: 9.0 cldr: 30.0.2 tz: 2016g
