Skip to content

plugins-zander/hexo-next-minivaline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexo Next MiniValine Version 5.x

GPL Licence npm downloads

A MiniValine plugin for Hexo NexT theme. 中文


Introduction

Get more information about MiniValine

Installation

npm install hexo-next-minivaline@latest --save

Configuration

Where

  • In Hexo _config.yml , Not theme _config.yml

How

minivaline:
  enable: true
  mversion: latest
  appId: zhM0AOiqle17oPoE84CoYw1e-gzGzoHsz # Your leancloud application appid
  appKey: itmzT1JbXfAjVwMqDhGPzU45 # Your leancloud application appkey
  mode: DesertsP # DesertsP or xCss demo -> https://minivaline.js.org/demo.html
  # Pay attention array, eg following, use yaml style NOT json in hexo-next-minivaline
  emoticonUrl:
    - https://cdn.jsdelivr.net/npm/alus@latest
    - https://cdn.jsdelivr.net/gh/MiniValine/qq@latest
    - https://cdn.jsdelivr.net/gh/MiniValine/Bilibilis@latest
    - https://cdn.jsdelivr.net/gh/MiniValine/tieba@latest
    - https://cdn.jsdelivr.net/gh/MiniValine/twemoji@latest
    - https://cdn.jsdelivr.net/gh/MiniValine/weibo@latest
  # Detail -> https://minivaline.js.org/docs/en/#/Options?id=emoticonurl-string-array
  lazyload: false
  cdn: https://cdn.jsdelivr.net/npm/minivaline@latest/dist/MiniValine.min.js
  # more support option -> https://github.com/MiniValine/hexo-next-minivaline#options

Options

Config options Support Default option Detail
enable Yes null true or false Tell hexo enable minivaline
cdn Yes null Leave blankor Your minivaline cdn address cdn CDN of the required files. Leave it blank if you want to directly load from server side.
mversion Yes latest Leave blank ornum version eg4.3.0,detail If you use option cdn this will be blocked.More question in FAQ following.
mount option NO - - Which has been installed before. Don't Add This.
Base Options Yes same with minivaline same with minivaline Support
Style Options Yes same with minivaline same with minivaline Support

FAQ

MiniValine

hexo-next-minivaline

I had add it in config, but it built without minivaline?

  • set enable: true
  • Note whether the option name case is uppercase or lowercase.
    • Especially appId and appKey, Not appid and appkey
  • Add it in hexo _config.yml, but not Next theme _config.yml
  • Some config option may be wrong.
  • Try use the Latest hexo-next-minivaline and Latest hexo-theme-next please.

Support enableQQ?

  • Try See CHANGELOG or Options , Some plug-in configurations may not be compatible downward

Not my version?

  • Clear brower cache,and try again

  • If you use option cdn, this mversion will be blocked.

  • May be the mversion is wrong

    • latest
      • means the latest version release on npm ,include alpha-versioneg5.0.0-alpha.3,may not you mean.
    • one number eg4
      • means the lastet version start with 4, eg4.3.0
    • Code here,
    • you can try https://cdn.jsdelivr.net/npm/minivaline@Your-mversion-value/dist/MiniValine.min.js before using.
  • Is there something wrong with option?detail

  • May be something wrong with minivaline, feedback minivaline.

Feedback

More

License

GPL-3.0