hexo-filter-sequence-fixed-villey
v1.0.0
Published
Generate UML sequence diagrams for Hexo.
Downloads
2
Maintainers
Readme
hexo-filter-sequence-fixed
Generate UML sequence diagrams for Hexo. 原项目hexo-filter-sequence未再维护,因此重新fork,并修复已知问题。
Install
npm install --save hexo-filter-sequence-fixed
Changelog
- 2023/07/11 bugfix
1、plugin not works on hexo; 2、update sequence-diagram-min.js version to 2.0.x to fix in isses
Usage
This plugin is based on js-sequence-diagrams, so you can defined the chart as follow:
```sequence
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
```
Config
In your site's _config.yml
:
sequence:
# webfont: # optional, the source url of webfontloader.js
# raphael: # optional, the source url of raphael.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:
Your config will be merged into default config:
{
"webfont": "https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.27/webfontloader.js",
"raphael": "https://cdnjs.cloudflare.com/ajax/libs/raphael/2.3.0/raphael.min.js",
"snap": "https://cdnjs.cloudflare.com/ajax/libs/snap.svg/0.4.1/snap.svg-min.js",
"underscore": "https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js",
"sequence": "https://cdn.jsdelivr.net/npm/@rokt33r/[email protected]/dist/sequence-diagram-min.js",
"style": "",
"options": {
"theme": "simple",
"css_class": ""
}
}
Related
- hexo-toc Insert a markdown TOC before posts be rendered.
- hexo-filter-fenced-code Extend syntax for the native fenced code block.
- hexo-filter-flowchart Generate flowchart diagrams for Hexo.
- hexo-filter-sub Generate subscript (
<sub>
) tag for Hexo. - hexo-filter-sup Generate superscript (
<sup>
) tag for Hexo. - hexo-theme-formula Hexo theme base on jade and less.
Contributing
Pull requests and stars are highly welcome.
For bugs and feature requests, please create an issue.