LOWDOWN_HTML_NEW(3)

NAME
lowdown_html_new - allocate a Markdown HTML renderer

LIBRARY
liblowdown

SYNOPSIS
#include <sys/queue.h>
#include <stdio.h>
#include <lowdown.h>
void *
lowdown_html_new(const struct lowdown_opts *opts);

DESCRIPTION
Allocates an HTML5 renderer using the flags in opts, which can be NULL in which case all fields are zero. The renderer type in opts is ignored.

The returned renderer must be freed with a call to lowdown_html_free(3). It may be used with multiple invocations of lowdown_html_rndr(3).

RETURN VALUES
Always returns a valid pointer.

SEE ALSO
lowdown(3), lowdown_html_free(3), lowdown_html_rndr(3)