Adding video to gif post
This commit is contained in:
parent
91110af05e
commit
0b780c897a
12 changed files with 146 additions and 0 deletions
|
|
@ -6,6 +6,11 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
codeBlocks.forEach((codeBlock) => {
|
||||
const pre = codeBlock.parentElement;
|
||||
|
||||
// Skip if data-lang is "nocopy"
|
||||
if (codeBlock.dataset.lang === "nocopy") {
|
||||
return;
|
||||
}
|
||||
|
||||
// Create wrapper for positioning
|
||||
const wrapper = document.createElement("div");
|
||||
wrapper.style.position = "relative";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue