minimal-mistakes
minimal-mistakes copied to clipboard
update giscus
This is an enhancement or feature.
Summary
New attributes for the giscus comment provider
Context
- Configuration attributes:
-
data-emit-metadata
- Discussion metadata will be sent periodically to the parent window (the embedding page). For demonstration, enable this option and open your browser's console on this page. See the documentation for more details. -
data-input-position
- The comment input box will be placed above the comments, so that users can leave a comment without scrolling to the bottom of the discussion. -
data-lang
- Interface language. -
data-loading
- Loading of the comments will be deferred until the user scrolls near the comments container. This is done by adding loading="lazy" to the -
data-strict
- Avoid mismatches due to GitHub's fuzzy searching method when there are multiple discussions with similar titles. See the documentation for more details.
-
async
- HTML attribute for the<script>
tag