Browse Source

Deleted old debug code.

default 1 month ago
parent
commit
ba3518e729
1 changed files with 0 additions and 9 deletions
  1. 0 9
      main.c

+ 0 - 9
main.c

@@ -98,15 +98,6 @@ int main(int argc, char *argv[])
         return snac_init(basedir);
     }
 
-    if (strcmp(cmd, "markdown") == 0) { /** **/
-        /* undocumented, for testing only */
-        xs *c = xs_readall(stdin);
-        xs *fc = not_really_markdown(c, NULL, NULL);
-
-        printf("<html>\n%s\n</html>\n", fc);
-        return 0;
-    }
-
     if ((basedir = getenv("SNAC_BASEDIR")) == NULL) {
         if ((basedir = GET_ARGV()) == NULL)
             return usage();