1MKD_LINE(3)              BSD Library Functions Manual              MKD_LINE(3)
2

NAME

4     mkd_line — do Markdown translation of small items
5

LIBRARY

7     Markdown (libmarkdown, -lmarkdown)
8

SYNOPSIS

10     #include <mkdio.h>
11
12     int
13     mkd_line(char *string, int size, char **doc, int flags);
14
15     int
16     mkd_generateline(char *string, int size, FILE *output, int flags);
17

DESCRIPTION

19     Occasionally one might want to do markdown translations on fragments of
20     data, like the title of an weblog article, a date, or a simple signature
21     line.  mkd_line and mkd_generateline allow you to do markdown transla‐
22     tions on small blocks of text.  mkd_line allocates a buffer, then writes
23     the translated text into that buffer, and mkd_generateline writes the
24     output to the specified FILE*.
25

SEE ALSO

27     markdown(1), markdown(3), markdown(7), mkd-extensions(7), mmap(2).
28
29     http://daringfireball.net/projects/markdown/syntax
30

BUGS

32     Error handling is minimal at best.
33
34Mastodon                       January 18, 2008                       Mastodon
Impressum