commit ba3518e

default  ·  2025-02-28 08:20:10 +0000 UTC
parent ddaed55
Deleted old debug code.
1 files changed,  +0, -9
M main.c
M main.c
+0, -9
 1@@ -98,15 +98,6 @@ int main(int argc, char *argv[])
 2         return snac_init(basedir);
 3     }
 4 
 5-    if (strcmp(cmd, "markdown") == 0) { /** **/
 6-        /* undocumented, for testing only */
 7-        xs *c = xs_readall(stdin);
 8-        xs *fc = not_really_markdown(c, NULL, NULL);
 9-
10-        printf("<html>\n%s\n</html>\n", fc);
11-        return 0;
12-    }
13-
14     if ((basedir = getenv("SNAC_BASEDIR")) == NULL) {
15         if ((basedir = GET_ARGV()) == NULL)
16             return usage();