0.0.4 • Published 4 years ago

gitbook-plugin-valine v0.0.4

Weekly downloads
24
License
Apache-2.0
Repository
github
Last release
4 years ago

Quick Start

{
    "plugins": ["valine"],
    "pluginsConfig": {
        "valine": {
			"appId": "your appId",
			"appKey": "your appKey"
		}
    }
}
  • Install your plugins using:
gitbook install ./

After that, you can use the valine comment system.

Configuration

valuetypedefaultrequireddescription
appIdstringyesApplication <APP_ID> from Leancloud.
appKeystringyesApplication <APP_KEY> from Leancloud.
placeholderstringJust go gonoComment box placeholders.
avatarstring''noGravatar type.Optional value:- ''(Empty string) - mp- identicon- monsterid- wavatar- retro - robohash- hide
pageSizenumber10noNumber of pages per page.
langstringzh-CNnoMultilingual support.Optional value:- zh-CN - zh-TW- en- ja
recordIPbooleanfalsenoRecord reviewer IP.

Advanced E-mail Alert

If you want to config the e-mail alert, you can see

https://github.com/DesertsP/Valine-Admin