logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mkd_line — do Markdown translation of small items

Bugs

Error handling is minimal at best. Mastodon January 18, 2008 MKD_LINE(3)

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

Library

Markdown (libmarkdown, -lmarkdown)

Name

mkd_line — do Markdown translation of small items

See Also

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

Synopsis

#include<mkdio.h>intmkd_line(char*string, intsize, char**doc, intflags); intmkd_generateline(char*string, intsize, FILE*output, intflags);

See Also