Skip to content

Commit

Permalink
Improve copy link formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonsturgeon committed Mar 12, 2024
1 parent 5ae2290 commit 194d5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/fragments/darkmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,6 @@ window.addEventListener("load", () => {
path = path.replace(/_/g, " ")

e.preventDefault()
await navigator.clipboard.writeText(`[${path}](${window.location.href})`)
await navigator.clipboard.writeText(`[\`${path}\`](<${window.location.href}>)`)
})
})

0 comments on commit 194d5fb

Please sign in to comment.