diff --git a/mkd-extensions.7 b/mkd-extensions.7 index 89a4bf6..9fcd1e4 100644 --- a/mkd-extensions.7 +++ b/mkd-extensions.7 @@ -85,9 +85,10 @@ block level html; .Em at the end of the line or -a -.Em at the beginning of a subsequent line. +.Em +at the end of the line or a +.Em +at the beginning of a subsequent line. .Pp Be warned that style blocks work like footnote links -- no matter where you define them they are valid for the entire document. @@ -101,6 +102,26 @@ will count as a emphasis character if it's in the middle of a word. This is primarily for documenting code, if you don't wish to have to backquote all code references. +.Ss alpha lists +If markdown was configured with +.Ar --enable-alpha-list , +alphabetic lists (like regular numeric lists, but with alphabetic +items) are supported. So: +.nf + a. this + b. is + c. an alphabetic + d. list +.fi +will produce: +.nf +
    +
  1. this
  2. +
  3. is
  4. +
  5. an alphabetic
  6. +
  7. list
  8. +
+.fi .Sh AUTHOR David Parsons .%T http://www.pell.portland.or.us/~orc/ diff --git a/mkd-functions.3 b/mkd-functions.3 index caecdc2..0b62d80 100644 --- a/mkd-functions.3 +++ b/mkd-functions.3 @@ -18,6 +18,10 @@ Markdown .Fn mkd_document "MMIOT *document" "char **doc" .Ft int .Fn mkd_generatehtml "MMIOT *document" "FILE *output" +.Ft int +.Fn mkd_xhtmlpage "MMIOT *document" "int flags" "FILE *output" +.Ft void +.Fn mkd_generatetoc "MMIOT *document" "FILE *output" .Ft void .Fn mkd_cleanup "MMIOT*" .Ft char* @@ -61,6 +65,8 @@ by the .Fn mkd_style , .Fn mkd_document , .Fn mkd_generatehtml , +.Fn mkd_generatetoc , +.Fn mkd_xhtmlpage , .Fn mkd_doc_title , .Fn mkd_doc_author , and @@ -83,6 +89,14 @@ and are used to read the contents of a Pandoc header, if any. .Pp +.Fn mkd_xhtmlpage +writes a xhtml page containing the document. The regular set of +flags can be passed. +.Pp +.Fn mkd_generatetoc +Writes a document outline, in the form of a collection of nested +lists, with links to each header in the document. +.Pp .Fn mkd_cleanup deletes a .Ar MMIOT*