hexo-filter-russify

0.1.1 • Public • Published

hexo-filter-russify

Custom filter for hexo blog to change color and font of selected Cyrillic text

This extends the Hexo blogging system with a filter that converts text demarcated by double pipes || to a new span with custom markup.

For example, ||мой, твой, его, её, наш, ваш, их|| will be rendered as:

Rendered output

##Installation

$ npm install hexo-filter-russify --save

In your theme css, implement the Cyrillic markup for the span:

span.rsb {
    font-family: Georgia,serif;
    color: #B30000;
    font-weight: bold;
}

##Usage

Anything that you want rendered in this fashion, enclose in double pipes as above.

Readme

Keywords

Package Sidebar

Install

npm i hexo-filter-russify

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • nsbum