Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
enable copy button on code block
Browse files Browse the repository at this point in the history
  • Loading branch information
kjeom committed Mar 29, 2024
1 parent 9f16572 commit 22646f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ const config = {
},
docs: {
beforeDefaultRemarkPlugins: [
[remarkCodeHike, { theme: "monokai" }],
[
remarkCodeHike, {
theme: "dracula",
showCopyButton: true,
}
],
],
sidebarPath: require.resolve('./sidebars.js'),
sidebarCollapsible: true,
Expand Down

0 comments on commit 22646f7

Please sign in to comment.