diff --git a/mkd2html.c b/mkd2html.c index ef2100d..849f498 100644 --- a/mkd2html.c +++ b/mkd2html.c @@ -1,13 +1,18 @@ /* * mkd2html: parse a markdown input file and generate a web page. * - * usage: mkd2html [header-fields] / [signature fields] < markdown > html + * usage: mkd2html [options] filename + * or mkd2html [options] < markdown > html + * + * options + * -css css-file + * -header line-to-add-to-
+ * -footer line-to-add-before- * * example: * - * mkd2html ' ' / - * '
' '

--generated by mk2html

' < text > html - * + * mkd2html -cs /~orc/pages.css syntax + * ( read syntax OR syntax.text, write syntax.html ) */ /* * Copyright (C) 2007 David L Parsons. @@ -141,8 +146,8 @@ char **argv; fprintf(output, "\n" - "\n" - "\n" + "\n" + "\n" " \n", version); fprintf(output," \n" - "\n"); + fprintf(output, "\n" + "\n"); /* print the compiled body */ @@ -170,8 +175,8 @@ char **argv; for ( i=0; i < S(footers); i++ ) fprintf(output, "%s\n", T(footers)[i]); - fprintf(output, "\n" - "\n"); + fprintf(output, "\n" + "\n"); mkd_cleanup(mmiot); exit(0);