GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MKD_LINE(3) FreeBSD Library Functions Manual MKD_LINE(3)

mkd_line
do Markdown translation of small items

Markdown (libmarkdown, -lmarkdown)

#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);

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 translations 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*.

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

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

Error handling is minimal at best.
January 18, 2008 Mastodon

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.