Package Exports
- hexo-media-marked
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hexo-media-marked) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hexo-renderer-marked
This version remove the wrap code by hexo-util. So github markdown style can be applied correctly.
Add support for Markdown. This plugin uses marked as render engine.
Installation
$ npm install hexo-renderer-marked --save- Hexo 3: >= 0.2
- Hexo 2: 0.1.x
Options
You can configure this plugin in _config.yml.
marked:
gfm: true
pedantic: false
sanitize: false
tables: true
breaks: true
smartLists: true
smartypants: true- gfm - Enables GitHub flavored markdown
- pedantic - Conform to obscure parts of
markdown.plas much as possible. Don't fix any of the original markdown bugs or poor behavior. - sanitize - Sanitize the output. Ignore any HTML that has been input.
- tables - Enable GFM tables. This option requires the
gfmoption to be true. - breaks - Enable GFM line breaks. This option requires the
gfmoption to be true. - smartLists - Use smarter list behavior than the original markdown.
- smartypants - Use "smart" typograhic punctuation for things like quotes and dashes.