/hexo-filter-sub

Generate subscript (<sub>) tag for Hexo.

Primary LanguageJavaScriptMIT LicenseMIT

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.