feat(post): first draft of styling

This commit is contained in:
Barrett Ruth 2024-06-15 17:29:43 -05:00
parent 4a558df078
commit 4b035c0c0c
3 changed files with 89 additions and 34 deletions

8
scripts/post.js Normal file
View file

@ -0,0 +1,8 @@
const h2s = document.querySelectorAll("article h2");
h2s.forEach((h2) => {
const mdHeading = document.createElement("span");
mdHeading.textContent = "# ";
mdHeading.style.color = "#0073e6";
h2.prepend(mdHeading);
});