@@ -360,79 +360,6 @@ int main() {
360360 Arena * longa = Arena_create_custom (params );
361361 Arena * tempa = Arena_create_custom (params );
362362
363- // TODO test code
364- // Text *t = &(Text){
365- // .text = strl("**bold *bold-italic*** *italic @(link ~~ struck ~~) more italic* * escape \\* asterisk *")
366- // };
367- // parse_inline(tempa, t);
368- // StrList output_list = render_text_inline(tempa, t->child);
369- // str output = StrList_join(tempa, output_list, (StrJoin){0});
370- // printf("%.*s", (s32) output.len, output.str);
371- // print_tree(t);
372-
373- /*
374- Block *block = parse_md(tempa, strl(
375- "# SPLAT\n"
376- "---\n"
377- "\n"
378- "*italic*\n"
379- "\n"
380- "**bold**\n"
381- "\n"
382- "***it-bold***\n"
383- "\n"
384- "~~struck~~\n"
385- "\n"
386- "`inline code`\n"
387- "\n"
388- "@(/splat.html link)\n"
389- "\n"
390- "!(/assets/dd.png)\n"
391- "---\n"
392- "@{sections}\n"
393- "#h1 H1\n"
394- "h1\n"
395- "##h2 H2\n"
396- "h2\n"
397- "###h3 H3\n"
398- "h3\n"
399- "####h4 H4\n"
400- "h4\n"
401- "#####h5 H5\n"
402- "h5\n"
403- "---\n"
404- "\n"
405- "[ ###expand Expandable Note H3\n"
406- "[ text of expandable note\n"
407- "\n"
408- "!|centered w33| Centered || Small || Table |\n"
409- "!|| 1 || 2 || 3 |\n"
410- "!|| 4 || 5 || 6 |\n"
411- "\n"
412- "?(Exoteric Explanation, Esoteric Phrase)\n"
413- "\n"
414- "```\n"
415- "generic code block\n"
416- "```\n"
417- "\n"
418- "\n"
419- "1. item 1\n"
420- "1. item 2\n"
421- "1. item 3\n"
422- ));
423-
424- StrList output_list = (StrList){0};
425- for (Block *b = block; b; b = b->next) {
426- StrList_append(&output_list, render_block(tempa, b));
427- }
428-
429- str output = StrList_join(tempa, output_list, (StrJoin){0});
430- printf("%.*s", (s32) output.len, output.str);
431-
432- return;
433- */
434-
435-
436363 src = (StrNode ) {0 , strc ("src" )};
437364 deploy = (StrNode ) {0 , strc ("deploy" )};
438365 wildcard = (StrNode ) {0 , strc ("*.md" )};
0 commit comments