Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MKD_LINE(3)		 BSD Library Functions Manual		   MKD_LINE(3)

NAME
     mkd_line -- do Markdown translation of small items

LIBRARY
     Markdown (libmarkdown, -lmarkdown)

SYNOPSIS
     #include <mkdio.h>

     int
     mkd_line(char *string, int	size, char **doc, int flags);

     int
     mkd_generateline(char *string, int	size, FILE *output, int	flags);

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

SEE ALSO
     markdown(1), markdown(3), markdown(7), mkd-extensions(7), mmap(2).

     http://daringfireball.net/projects/markdown/syntax

BUGS
     Error handling is minimal at best.

Mastodon		       January 18, 2008			      Mastodon

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | SEE ALSO | BUGS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=mkd_line&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help