hexo-stop-tag-plugins
v0.1.7
Published
Disable tag plugins for Hexo
Downloads
12
Maintainers
Readme
hexo-stop-tag-plugins
For Markdown rendering, disable the tag plugins, if you don't want hexo to process the markdown with nunjucks syntax, which is used by default.
Installation
$ npm install hexo-stop-tag-plugins --save
- Hexo version >= 3.9.0 are recommended, which includes the fix of disableNunjucks property issue
- If you use hexo version < 3.9.0, hexo may not render the markdown code blocks correctly due to the above issue
How to use
- confirm the package order
After installation, make sure the hexo-stop-tag-plugins
package appear after all the renderers plugins. In most case, the order should be already correct with alphabetical order.
package.json
:
{
"name": "xxxxx",
"version": "0.0.0",
"private": true,
"hexo": {
"version": "3.9.0"
},
"dependencies": {
"clean-css": "^4.2.1",
"hexo": "^3.9.0",
"hexo-all-minifier": "^0.5.3",
"hexo-deployer-git": "^0.3.1",
"hexo-generator-archive": "^0.1.4",
"hexo-generator-category": "^0.1.3",
"hexo-generator-index": "^0.2.0",
"hexo-generator-json-content": "^2.2.0",
"hexo-generator-tag": "^0.2.0",
"hexo-renderer-ejs": "^0.3.1",
"hexo-renderer-marked": "^0.2.10",
"hexo-renderer-stylus": "^0.3.1",
"hexo-server": "^0.2.0",
"hexo-stop-tag-plugins": "^0.1.5",
"uglify-es": "^3.3.9"
}
}
- how to disable this plugin
If you want to enabling the tag plugins, you can either uninstall this pacakge, or set the stop_tag_plugins
configuration to false
in _config.yml
:
stop_tag_plugins: false