jl15988 / docsify-hide-code

A docsify plugin that hide code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
    }
}

About

A docsify plugin that hide code.

License:MIT License


Languages

Language:JavaScript 85.3%Language:CSS 14.7%