ive dark:bg-gray-800 dark:text-blue-500";
    tabs[index].style.display = null;
    window.location.hash = `#${index}`;
  }

  function applyStyle(node) {
    if (node.tagName === "H1") {
      node.className = "mb-2 text-4xl font-bold tracking-tight text-gray-900 dark:text-white";
    }
    if (node.tagName === "H2") {
      node.className = "mb-2 text-3xl font-bold tracking-tight text-gray-900 dark:text-white";
    }
    if (node.tagName === "H3") {
      node.className = "mb-2 text-2xl font-bold tracking