Create a color block easily on Hexo
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore complete the first release Apr 17, 2018
LICENSE Create LICENSE Apr 17, 2018
README.md unfinished text implementation Apr 18, 2018
example.png complete the first release Apr 17, 2018
index.js unfinished text implementation Apr 18, 2018
package.json unfinished text implementation Apr 18, 2018

README.md

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:
  # whether you want to show hex code
  text:

default configuration:

code_block:
  width: 10
  height: 10
  text: true

License

MIT.