minimal-mistakes icon indicating copy to clipboard operation
minimal-mistakes copied to clipboard

update giscus

Open andr11b opened this issue 1 year ago • 0 comments

This is an enhancement or feature.

Summary

New attributes for the giscus comment provider

Context

  1. 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.
  1. async - HTML attribute for the <script> tag

andr11b avatar Mar 23 '23 14:03 andr11b