Adding video to gif post

This commit is contained in:
Dan 2026-01-16 11:12:20 +00:00
parent 91110af05e
commit 0b780c897a
12 changed files with 146 additions and 0 deletions

View file

@ -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";