1.5.4 • Published 3 months ago
@mingchyuanko/docsify-plugin-giscus v1.5.4
docsify-plugin-giscus
This docsify plugin places giscus as the last child element of <article class="markdown-section" id="main">
.
Usage notes
Stylesheet
<!-- head -->
<link rel="stylesheet" href="https://unpkg.com/@mingchyuanko/docsify-plugin-giscus/dist/giscus.css">
Script
<!-- body -->
<script src="https://unpkg.com/@mingchyuanko/docsify-plugin-giscus/dist/giscus.min.js"></script>
Configure docsify-plugin-giscus
<script>
window.$docsify = {
giscus: {
repo: "ENTER REPO HERE",
repoId: "ENTER REPO ID HERE",
category: "ENTER CATEGORY NAME HERE",
categoryId: "ENTER CATEGORY ID HERE",
reactionsEnabled: "1",
inputPosition: "top",
theme: "noborder_light",
lang: "zh-TW",
loading: true,
},
};
</script>
theme
- Type:
string
You can use:
theme: "https://unpkg.com/@mingchyuanko/docsify-plugin-giscus/dist/noborder_light_custom.css",
It's just a slight modification of the original file, as there was an issue with the border in the comments section being obscured in the original style.
loading
- Type:
boolean
Loading of the comments will be deferred until the user scrolls near the comments container.
1.4.6
3 months ago
1.5.4
3 months ago
1.4.5
3 months ago
1.5.3
3 months ago
1.4.4
3 months ago
1.5.2
3 months ago
1.4.3
3 months ago
1.5.1
3 months ago
1.4.2
3 months ago
1.5.0
3 months ago
1.4.1
3 months ago
1.4.0
3 months ago
1.4.7
3 months ago
1.3.0
4 months ago
1.2.0
4 months ago
1.1.2
4 months ago
1.1.1
4 months ago
1.1.0
4 months ago
1.0.1
4 months ago
1.0.0
4 months ago