Skip to content

Commit

Permalink
Add copy clipboard button
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 27, 2018
1 parent 81f63fe commit adff40f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta name="description" content="The Hackable Log">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/codecopy/umd/codecopy.min.css">
</head>
<body>
<div id="app"></div>
Expand All @@ -15,8 +16,16 @@
name: 'acho',
repo: 'https://github.com/achohq/acho',
coverpage: true,
homepage: 'https://raw.githubusercontent.com/achohq/acho/master/README.md'
homepage: 'https://raw.githubusercontent.com/achohq/acho/master/README.md',
plugins: [
function (hook, vm) {
hook.ready(function () {
codecopy('pre')
})
}
]
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/codecopy/umd/codecopy.min.js"></script>
</html>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
},
"devDependencies": {
"coveralls": "latest",
"docsify-cli": "latest",
"git-dirty": "latest",
"husky": "latest",
"lint-staged": "latest",
Expand Down

0 comments on commit adff40f

Please sign in to comment.