hexo-tag-color-block

0.0.3 • Public • Published

hexo-tag-color-block

Create Color Block Easily on Hexo

Install

npm i hexo-tag-color-block

Usage

The full tag format is as follows:

{% colorblock [color hex code] [width] [height] %}

example:

{% colorblock #f8dcf8 %} will generate:

example of #f8dcf8

Configuration

You can configure the dafault width in your site _config.yml:

code_block:
  width: 
  height: 

default configuration:

code_block:
  width: 10
  height: 10

License

MIT.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i hexo-tag-color-block

      Weekly Downloads

      15

      Version

      0.0.3

      License

      MIT

      Unpacked Size

      5.58 kB

      Total Files

      5

      Last publish

      Collaborators

      • callmepk