docsify-highlight
Build From source code
-
npm install
-
npm run build
Usage
Basic Usage
-
Include vue.js
<script src="https://unpkg.com/vue/dist/vue.js"></script>
-
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
- Use leancloud as remote storage
window.$docsify = {
"DocHighlighter": {
leancloud: {
appId: "appId",
appKey: "appKey",
serverURL: "https://xxxxxxxx",
}
},
};