gitbook-plugin-scroll-to-top

Gitbook Plugin - Scroll to top when page loaded

Usage no npm install needed!

<script type="module">
  import gitbookPluginScrollToTop from 'https://cdn.skypack.dev/gitbook-plugin-scroll-to-top';
</script>

README

Scroll To Top

Gitbook Plugin

Scroll to top when page loaded.

Installation

Open the book.json and insert scroll-to-top value into the plugins variable.

{
    "plugins": [ "scroll-to-top" ]
}