commit ba3518e7298e8479c89dd316903a47bf4827b8c5
parent ddaed55836a4b3e00cc989bcfb3c79849c48b6ea
Author: default <nobody@localhost>
Date: Fri, 28 Feb 2025 09:20:10 +0100
Deleted old debug code.
Diffstat:
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/main.c b/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();