commonmarkd.md4c

Members

Aliases

CHAR
alias CHAR = MD_CHAR

*** Internal Types ***

Functions

ISALNUM_HTML
bool ISALNUM_HTML(CHAR ch)

*** HTML rendering helper functions ***

ISIN_
bool ISIN_(CHAR ch, CHAR ch_min, CHAR ch_max)

*** Helpers ***

enter_block_callback
int enter_block_callback(MD_BLOCKTYPE type, void* detail, void* userdata)

*** HTML renderer implementation ***

md_analyze_table_alignment
void md_analyze_table_alignment(MD_CTX* ctx, OFF beg, OFF end, MD_ALIGN* align_, int n_align)

*** Processing Tables ***

md_is_html_tag
int md_is_html_tag(MD_CTX* ctx, const(MD_LINE)* lines, int n_lines, OFF beg, OFF max_end, OFF* p_end)

*** Recognizing raw HTML ***

md_merge_lines
void md_merge_lines(MD_CTX* ctx, OFF beg, OFF end, const(MD_LINE)* lines, int n_lines, CHAR line_break_replacement_char, CHAR* buffer, SZ* p_size)

*** Helper string manipulations ***

md_parse
int md_parse(const MD_CHAR* text, MD_SIZE size, const MD_PARSER* parser, void* userdata)

Parse the Markdown document stored in the string 'text' of size 'size'. The renderer provides callbacks to be called during the parsing so the caller can render the document on the screen or convert the Markdown to another format.

Manifest constants

MD_BLOCK_CONTAINER_OPENER
enum MD_BLOCK_CONTAINER_OPENER;

*** Processing Block ***

MD_FNV1A_BASE
enum MD_FNV1A_BASE;

*** Dictionary of Reference Definitions ***

TRUE
enum TRUE;

*** Miscellaneous Stuff ***

Static functions

md_is_hex_entity_contents
int md_is_hex_entity_contents(MD_CTX* ctx, const(CHAR)* text, OFF beg, OFF max_end, OFF* p_end)

*** Recognizing Entity ***

md_is_hr_line
int md_is_hr_line(MD_CTX* ctx, OFF beg, OFF* p_end, OFF* p_killer)

*** Line Analysis ***

md_push_block_bytes
void* md_push_block_bytes(MD_CTX* ctx, int n_bytes)

*** Grouping Lines into Blocks ***

Structs

MD_ATTRIBUTE_BUILD
struct MD_ATTRIBUTE_BUILD

*** Attribute Management ***

MD_LINK_ATTR
struct MD_LINK_ATTR

*** Recognizing Links ***

MD_MARK
struct MD_MARK

*** Processing Inlines (a.k.a Spans) ***

MD_UNICODE_FOLD_INFO
struct MD_UNICODE_FOLD_INFO

*** Unicode Support ***

Meta