8/8/26 20:27
This commit is contained in:
+1
-2
@@ -8,7 +8,7 @@ import "core:path/filepath"
|
||||
import "core:strings"
|
||||
import http "submodules/odin-http"
|
||||
|
||||
foreign import goldmark "libgoldmark.lib"
|
||||
foreign import goldmark "parser/libgoldmark.lib"
|
||||
|
||||
foreign goldmark {
|
||||
MarkdownToHTML :: proc(source: cstring) -> cstring ---
|
||||
@@ -26,7 +26,6 @@ state := State {
|
||||
}
|
||||
|
||||
main :: proc() {
|
||||
|
||||
markdown, err1 := os.read_entire_file_from_path("test.markdown", context.temp_allocator)
|
||||
|
||||
src_c := strings.clone_to_cstring(string(markdown))
|
||||
|
||||
Reference in New Issue
Block a user