fix: restore removed function

This commit is contained in:
mostafaei2002 2024-05-18 12:47:36 +03:30
parent 21f478c548
commit 0f41e086a6

View File

@ -13,4 +13,11 @@ import "../../node_modules/bootstrap/js/dist/tooltip";
import "../scss/styles.scss"; import "../scss/styles.scss";
function setupPrettify() {
const codeBlocks = document.querySelectorAll("pre code");
codeBlocks.forEach((block) => {
block.parentElement.classList.add("prettyprint", "well");
});
}
setupPrettify(); setupPrettify();