Create Color Block Easily on Hexo
npm install hexo-tag-color-blockCreate Color Block Easily on Hexo
npm i hexo-tag-color-block
The full tag format is as follows:
{% colorblock [color hex code] [width] [height] %}
example:
{% colorblock #f8dcf8 %} will generate:
You can configure the dafault width in your site _config.yml:
``yml`
code_block:
width:
height:
default configuration:
`yml``
code_block:
width: 10
height: 10
MIT.