Generate subscript (<sub>) tag for Hexo.
JavaScript
Latest commit 2a56994 Jan 9, 2017 @bubkoo related
Permalink
Failed to load latest commit information.
.editorconfig init Jan 9, 2017
.gitignore init Jan 9, 2017
.npmignore init Jan 9, 2017
LICENSE Initial commit Jan 9, 2017
README.md related Jan 9, 2017
index.js fix options Jan 9, 2017
package.json related Jan 9, 2017

README.md

hexo-filter-sub

MIT License

npm: Package Quality

Generate subscript (<sub>) tag for Hexo.

Install

npm install --save hexo-filter-sub

Usage

H~2~0 => H<sub>2</sub>O

The default markup is based on pandoc definition. But nested markup is currently not supported.

Markup can be specified as follow in you _config.yml:

sub:
  markup: '$'

Related

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.