feat: Added alerts.

This commit is contained in:
Spencer Brower
2026-07-11 19:18:35 -04:00
parent 88eea07fec
commit 241068b487
2 changed files with 109 additions and 1 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ load_page :: proc(
} else {
clean_body, defs := strip_definitions(body)
html := cm.markdown_to_html_from_string(clean_body, {.Unsafe})
page.body_html = inject_sidenotes(html, defs)
page.body_html = inject_alerts(inject_sidenotes(html, defs))
}
switch page_type {