From 5c05bedb71c90412720267427ac5467ccb4abc23 Mon Sep 17 00:00:00 2001 From: Simon Kellet Date: Mon, 16 Mar 2026 13:11:35 +0000 Subject: [PATCH] added func to write prefix --- parse.odin | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/parse.odin b/parse.odin index 9324b3d..e952b30 100644 --- a/parse.odin +++ b/parse.odin @@ -12,6 +12,12 @@ CSS_PREFIX :: "\n" MASTODON_PREFIX :: "\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, MASTODON_PREFIX) +} + walk_tree_and_get_md_names :: proc( path: string, allocator := context.allocator,