Skip to content

patrick330602/hexo-tag-color-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Create a color block easily on Hexo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published