Skip to content

Commit

Permalink
enable copy button on code block (klaytn#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack authored Apr 2, 2024
1 parent 9f16572 commit 54d4038
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 54d4038

Please sign in to comment.