docsify-highlight

2.3.1 • Public • Published

docsify-highlight

Build From source code

  1. npm install

  2. npm run build

Usage

Basic Usage

  1. Include vue.js

    <script src="https://unpkg.com/vue/dist/vue.js"></script>

  2. Include js and css

    <link rel="stylesheet" href="dist/docsify-highlight.css">

    <script src="dist/docsify-highlight.umd.min.js"></script>

Use CDN directly

<link rel="stylesheet" href="https://unpkg.com/docsify-highlight@latest/dist/docsify-highlight.css">

<script src="https://unpkg.com/docsify-highlight@latest/dist/docsify-highlight.umd.min.js"></script>

Optional usage

  1. Use leancloud as remote storage
  window.$docsify = {
      "DocHighlighter": {
        leancloud: {
          appId: "appId",
          appKey: "appKey",
          serverURL: "https://xxxxxxxx",
        }
      },
    };

ScreenShot

Readme

Keywords

Package Sidebar

Install

npm i docsify-highlight

Weekly Downloads

24

Version

2.3.1

License

none

Unpacked Size

5.34 MB

Total Files

91

Last publish

Collaborators

  • wellcomez