0.1.7 • Published 5 years ago

hexo-stop-tag-plugins v0.1.7

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

hexo-stop-tag-plugins

Build Status NPM version Coverage Status NPM Dependencies NPM DevDependencies

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

  1. 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"
  }
}
  1. 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
0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago