@cerallin/hexo-generator-word-cloud
v1.0.4
Published
A hexo plugin to generate word cloud.
Downloads
1
Readme
hexo-generator-word-cloud
A hexo plugin to generate word cloud.
Requirements
Python 3 and word_cloud are required.
Installation
npm install hexo-generator-word-cloud
Options
word_cloud:
python_path: python3
output_path: word-cloud.svg
word_num: 100
# Generation options
mask_image: source/_jieba/mask.png
mask_image_color: source/_jieba/mask-color.png
max_font_size: 80
min_font_size: 4
# User dicts
user_dict: source/_jieba/user_dict.utf-8
stop_word_dict: source/_jieba/stop_word_dict.utf-8
TODOs
- [x] specify mask image
- [x] specify stop words
- [ ] support PNG format