Need private packages and team management tools?Check out npm Teams »

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.

Install

npm i hexo-tag-color-block

DownloadsWeekly Downloads

5

Version

0.0.3

License

MIT

Unpacked Size

5.58 kB

Total Files

5

Last publish

Collaborators

  • avatar