mkd_text() is now mkd_generateline(); the new

function `mkd_line()` formats a line into a string,
similarly to `mkd_toc()`, `mkd_xml()`, and so on.

There are a whole bunch of new public functions now,
so I'm pushing the version up to 1.4.0
This commit is contained in:
David Parsons
2009-05-12 10:49:51 -07:00
parent 70594763c4
commit 8ca7a50e70
6 changed files with 64 additions and 23 deletions
+3 -3
View File
@@ -310,7 +310,7 @@ ftitle(MMIOT *doc, FILE* output, int flags)
h = pagename;
if ( h )
mkd_text(h, strlen(h), output, flags);
mkd_generateline(h, strlen(h), output, flags);
}
@@ -322,7 +322,7 @@ fdate(MMIOT *doc, FILE *output, int flags)
char *h = infop ? ctime(&infop->st_mtime) : mkd_doc_date(doc);
if ( h )
mkd_text(h, strlen(h), output, flags|MKD_TAGTEXT);
mkd_generateline(h, strlen(h), output, flags|MKD_TAGTEXT);
}
@@ -339,7 +339,7 @@ fauthor(MMIOT *doc, FILE *output, int flags)
#endif
if ( h )
mkd_text(h, strlen(h), output, flags);
mkd_generateline(h, strlen(h), output, flags);
}