Add FAQ spoilers and fixed a typo.

Added FAQ spoilers powered by "vuepress-plugin-container".
This commit is contained in:
Simon Mattila 2019-09-19 00:32:20 +02:00
parent 696ec68e1b
commit d59a5b5ac2
4 changed files with 25 additions and 35 deletions

45
package-lock.json generated
View File

@ -4248,8 +4248,7 @@
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.2.0", "version": "1.2.0",
@ -4270,14 +4269,12 @@
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
@ -4292,20 +4289,17 @@
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"core-util-is": { "core-util-is": {
"version": "1.0.2", "version": "1.0.2",
@ -4422,8 +4416,7 @@
"inherits": { "inherits": {
"version": "2.0.3", "version": "2.0.3",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
@ -4435,7 +4428,6 @@
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
@ -4450,7 +4442,6 @@
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
@ -4458,14 +4449,12 @@
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"minipass": { "minipass": {
"version": "2.3.5", "version": "2.3.5",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"safe-buffer": "^5.1.2", "safe-buffer": "^5.1.2",
"yallist": "^3.0.0" "yallist": "^3.0.0"
@ -4484,7 +4473,6 @@
"version": "0.5.1", "version": "0.5.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"minimist": "0.0.8" "minimist": "0.0.8"
} }
@ -4565,8 +4553,7 @@
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"object-assign": { "object-assign": {
"version": "4.1.1", "version": "4.1.1",
@ -4578,7 +4565,6 @@
"version": "1.4.0", "version": "1.4.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"wrappy": "1" "wrappy": "1"
} }
@ -4664,8 +4650,7 @@
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
@ -4701,7 +4686,6 @@
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",
@ -4721,7 +4705,6 @@
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
@ -4765,14 +4748,12 @@
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"yallist": { "yallist": {
"version": "3.0.3", "version": "3.0.3",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
} }
} }
}, },
@ -6212,8 +6193,7 @@
"markdown-it-container": { "markdown-it-container": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/markdown-it-container/-/markdown-it-container-2.0.0.tgz", "resolved": "https://registry.npmjs.org/markdown-it-container/-/markdown-it-container-2.0.0.tgz",
"integrity": "sha1-ABm0P9Au7+zi8ZYKKJX7qBpARpU=", "integrity": "sha1-ABm0P9Au7+zi8ZYKKJX7qBpARpU="
"dev": true
}, },
"markdown-it-emoji": { "markdown-it-emoji": {
"version": "1.4.0", "version": "1.4.0",
@ -10574,7 +10554,6 @@
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/vuepress-plugin-container/-/vuepress-plugin-container-2.0.2.tgz", "resolved": "https://registry.npmjs.org/vuepress-plugin-container/-/vuepress-plugin-container-2.0.2.tgz",
"integrity": "sha512-SrGYYT7lkie7xlIlAVhn+9sDW42MytNCoxWL/2uDr+q9wZA4h1uYlQvfc2DVjy+FsM9PPPSslkeo/zCpYVY82g==", "integrity": "sha512-SrGYYT7lkie7xlIlAVhn+9sDW42MytNCoxWL/2uDr+q9wZA4h1uYlQvfc2DVjy+FsM9PPPSslkeo/zCpYVY82g==",
"dev": true,
"requires": { "requires": {
"markdown-it-container": "^2.0.0" "markdown-it-container": "^2.0.0"
} }

View File

@ -21,6 +21,7 @@
"axios": "^0.19.0", "axios": "^0.19.0",
"iso-639-1": "^2.1.0", "iso-639-1": "^2.1.0",
"lodash.groupby": "^4.6.0", "lodash.groupby": "^4.6.0",
"lodash.sortby": "^4.7.0" "lodash.sortby": "^4.7.0",
"vuepress-plugin-container": "^2.0.2"
} }
} }

View File

@ -35,6 +35,14 @@ module.exports = {
{ {
'ga': 'UA-148212082-1' 'ga': 'UA-148212082-1'
} }
],
[
"container",
{
type: "spoiler",
before: info => "<details><summary>" + info + "</summary>\n",
after: "</details>\n"
}
] ]
] ]
} }

View File

@ -70,6 +70,7 @@ a manga, you will need to reinstall the extensions you used to use. Which
number in the menu corresponds to which is below. Be aware that Batoto is number in the menu corresponds to which is below. Be aware that Batoto is
deprecated so you will need to migrate from that source to others. deprecated so you will need to migrate from that source to others.
::: spoiler <b>Click to expand!</b>
::: tip ::: tip
1. Batoto 1. Batoto
2. Mangahere 2. Mangahere
@ -125,11 +126,12 @@ settings and set WebView Implementation to Android System WebView.
<img :src="$withBase('/assets/media/openinwebview.jpg')"> <img :src="$withBase('/assets/media/openinwebview.jpg')">
</figure> </figure>
### Wich sources are there in the multi-source extensions? ### Which sources are there in the multi-source extensions?
Some extensions contain multiple sources, look at the list below to find Some extensions contain multiple sources, look at the list below to find
out which extension to install for the specific source that you want. out which extension to install for the specific source that you want.
::: spoiler <b>Click to expand!</b>
::: tip ::: tip
1. Comicake 1. Comicake
- Whim Scans - Whim Scans