Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.67 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.67 KB

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.