From 1f441243192fe242fa94053ea491e9c890e88328 Mon Sep 17 00:00:00 2001 From: Simon Kellet Date: Fri, 24 Jul 2026 09:43:28 +0100 Subject: [PATCH] added hljs to pages for code highlights. pending solution --- parse.odin | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parse.odin b/parse.odin index ca4eb4a..e2fc394 100644 --- a/parse.odin +++ b/parse.odin @@ -12,12 +12,15 @@ UTF8_PREFIX :: "\nSimon Kellet" FAVICON_PREFIX :: "\n" MASTODON_PREFIX :: "\n" +HIGHLIGHT_JS_PREFIX :: "\n\n\n" + write_prefixs_to_html_file :: proc(file: ^os.File) { os.write_string(file, UTF8_PREFIX) os.write_string(file, CSS_PREFIX) os.write_string(file, FAVICON_PREFIX) os.write_string(file, MASTODON_PREFIX) + os.write_string(file, HIGHLIGHT_JS_PREFIX) } walk_tree_and_get_md_names :: proc(path: string, allocator := context.allocator) -> [dynamic]string {