Home

Awesome

docsify-hide-code

A docsify plugin that hide code.

Installation

Add following script tag to your index.html after docsify.

<script src="https://unpkg.com/docsify-hide-code"></script>

You can also use the following script.

<script src="https://cdn.jsdelivr.net/npm/docsify-hide-code/dist/docsify-hide-code.min.js"></script>

Options

window.$docsify = {
    hideCode: {
        scroll: false, // Enable scrolling
        height: 300 // Max height
    }
}