docsify-hide-code

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i docsify-hide-code

Weekly Downloads

47

Version

1.0.1

License

MIT

Unpacked Size

19.2 kB

Total Files

10

Last publish

Collaborators

  • jl15988