aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-02-28 09:20:10 +0100
committerdefault <nobody@localhost>2025-02-28 09:20:10 +0100
commitba3518e7298e8479c89dd316903a47bf4827b8c5 (patch)
tree4f46d379f7671d6d2f62af5fa5463f656009b768 /main.c
parentddaed55836a4b3e00cc989bcfb3c79849c48b6ea (diff)
Deleted old debug code.
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/main.c b/main.c
index 1cd6580..a4ea961 100644
--- 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();