feat(post): un-italicize post md headings
This commit is contained in:
parent
102c71e87a
commit
ca4b773f35
3 changed files with 67 additions and 1 deletions
|
|
@ -39,6 +39,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||
document.querySelectorAll("article h2").forEach((h2) => {
|
||||
const mdHeading = document.createElement("span");
|
||||
mdHeading.textContent = "# ";
|
||||
mdHeading.style.fontStyle = "normal";
|
||||
mdHeading.style.color = getTopicColor(urlToTopic());
|
||||
h2.prepend(mdHeading);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue