hexo-renderer-viz
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,5 +6,5 @@ const renderer = require('./lib/renderer'); | ||
src_ext: 'dot', | ||
}, hexo.config.renderer_viz); | ||
}, hexo.config.viz_renderer); | ||
if (config.enable) | ||
hexo.extend.renderer.register(config.src_ext, 'svg', renderer(config)); |
{ | ||
"name": "hexo-renderer-viz", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"repository": { | ||
@@ -8,3 +8,3 @@ "type": "git", | ||
}, | ||
"description": "A plugin to render dot files into svg.", | ||
"description": "A hexo renderer for graphviz.", | ||
"main": "index.js", | ||
@@ -11,0 +11,0 @@ "scripts": { |
@@ -14,5 +14,7 @@ # Hexo-renderer-viz | ||
```yml | ||
renderer_viz: | ||
viz_renderer: | ||
enable: true | ||
src_ext: dot # default extension name of src file | ||
``` | ||
Then, any files end with `.dot` in `@/source/` will be rendered as SVG pictures. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2287
19