git ignore:
This commit is contained in:
-22
@@ -69,28 +69,6 @@ walk_tree :: proc(path: string) -> []u8 {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
parse_file_md_to_html :: proc(
|
||||
filename: string,
|
||||
allocator: runtime.Allocator,
|
||||
) -> (
|
||||
parsed: cstring,
|
||||
err: os.Error,
|
||||
) {
|
||||
str: []u8
|
||||
str = os.read_entire_file_from_path(filename, allocator) or_return
|
||||
|
||||
root := cm.parse_document(raw_data(str), len(str), cm.DEFAULT_OPTIONS)
|
||||
defer cm.node_free(root)
|
||||
|
||||
html := cm.render_html(root, cm.DEFAULT_OPTIONS)
|
||||
defer cm.free(html)
|
||||
|
||||
return html, nil
|
||||
}
|
||||
*/
|
||||
|
||||
parse_file_md_to_html :: proc(
|
||||
filename: string,
|
||||
allocator: runtime.Allocator,
|
||||
|
||||
Reference in New Issue
Block a user