Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Add copy clipboard button
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 26, 2018
1 parent f17a32c commit cc64453
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@
<!-- Favicon -->
<link rel="icon" type="image/png" href="/static/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/static/favicon-16x16.png" sizes="16x16" />
<link rel="shortcut icon" href="/static/favicon.ico">

<!-- Stylesheet -->
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Hind" rel="stylesheet">
<link rel="stylesheet" href="/static/style.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/codecopy/umd/codecopy.min.css">

</head>

Expand All @@ -49,5 +51,12 @@
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/external-script.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/codecopy/umd/codecopy.min.js"></script>
<script>document.addEventListener('DOMContentLoaded', function (event) {
setTimeout(function() {
codecopy('pre[v-pre]')
}, 100)
})
</script>

</html>
8 changes: 1 addition & 7 deletions static/main.min.js
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
window.$docsify = {
name: 'svr',
repo: 'kikobeats/svr',
maxLevel: 3,
executeScript: !0,
auto2top: !0
}
window.$docsify={name:"svr",repo:"kikobeats/svr",maxLevel:3,executeScript:!0,auto2top:!0};
Loading

0 comments on commit cc64453

Please sign in to comment.