fix(shortcode): conflict with gist shortcode (#455)
This commit is contained in:
parent
4764a92df3
commit
ca260db07e
@ -58,7 +58,7 @@ let Stack = {
|
||||
/**
|
||||
* Add copy button to code block
|
||||
*/
|
||||
const codeBlocks = document.querySelectorAll('.article-content .highlight');
|
||||
const codeBlocks = document.querySelectorAll('.article-content > div.highlight');
|
||||
const copyText = `Copy`,
|
||||
copiedText = `Copied!`;
|
||||
codeBlocks.forEach(codeBlock => {
|
||||
|
Loading…
Reference in New Issue
Block a user