static int rndr_autolink(struct buf *ob, const struct buf *link, enum mkd_autolink type, void *opaque) { PyObject *is_email = Py_False; if (type == MKDA_EMAIL) { is_email = Py_True; } PROCESS_SPAN("autolink", PY_STR(link), is_email, NULL); }
static void rndr_list(struct buf *ob, const struct buf *text, int flags, void *opaque) { PyObject *is_ordered = Py_False; if (flags & MKD_LIST_ORDERED) { is_ordered = Py_True; } PROCESS_BLOCK("list", PY_STR(text), is_ordered, NULL); }
static int rndr_autolink(hoedown_buffer *ob, const hoedown_buffer *link, hoedown_autolink_type type, const hoedown_renderer_data *data) { PyObject *is_email = Py_False; if (type == HOEDOWN_AUTOLINK_EMAIL) { is_email = Py_True; } PROCESS_SPAN("autolink", PY_STR(link), is_email, NULL); }
static void rndr_list(hoedown_buffer *ob, const hoedown_buffer *text, hoedown_list_flags flags, const hoedown_renderer_data *data) { PyObject *is_ordered = Py_False; if (flags & HOEDOWN_LIST_ORDERED) { is_ordered = Py_True; } PROCESS_BLOCK("list", PY_STR(text), is_ordered, NULL); }
static int rndr_image(struct buf *ob, const struct buf *link, const struct buf *title, const struct buf *alt, void *opaque) { PROCESS_SPAN("image", PY_STR(link), PY_STR(title), PY_STR(alt), NULL); }
static void rndr_entity(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_BLOCK("entity", PY_STR(text), NULL); }
static void rndr_header(struct buf *ob, const struct buf *text, int level, void *opaque) { PROCESS_BLOCK("header", PY_STR(text), PY_INT(level), NULL); }
static void rndr_blockquote(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_BLOCK("block_quote", PY_STR(text), NULL); }
static void rndr_normal_text(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_BLOCK("normal_text", PY_STR(text), NULL); }
static int rndr_subscript(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_SPAN("subscript", PY_STR(text), NULL); }
static int rndr_triple_emphasis(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_SPAN("triple_emphasis", PY_STR(text), NULL); }
static int rndr_ins(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_SPAN("ins", PY_STR(text), NULL); }
static void rndr_blockmath(struct buf *ob, const struct buf *math, void *opaque) { PROCESS_BLOCK("block_math", PY_STR(math), NULL); }
static void rndr_header(hoedown_buffer *ob, const hoedown_buffer *text, int level, const hoedown_renderer_data *data) { PROCESS_BLOCK("header", PY_STR(text), PY_INT(level), NULL); }
static void rndr_raw_block(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_BLOCK("block_html", PY_STR(text), NULL); }
static void rndr_blockcode(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_buffer *lang, const hoedown_renderer_data *data) { PROCESS_BLOCK("block_code", PY_STR(text), PY_STR(lang), NULL); }
static void rndr_normal_text(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_BLOCK("normal_text", PY_STR(text), NULL); }
static int rndr_link(struct buf *ob, const struct buf *link, const struct buf *title, const struct buf *content, void *opaque) { PROCESS_SPAN("link", PY_STR(link), PY_STR(title), PY_STR(content), NULL); }
static int rndr_raw_html(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_SPAN("raw_html", PY_STR(text), NULL); }
static void rndr_paragraph(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_BLOCK("paragraph", PY_STR(text), NULL); }
static int rndr_strikethrough(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_SPAN("strikethrough", PY_STR(text), NULL); }
static void rndr_table(struct buf *ob, const struct buf *header, const struct buf *body, void *opaque) { PROCESS_BLOCK("table", PY_STR(header), PY_STR(body), NULL); }
static void rndr_entity(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_BLOCK("entity", PY_STR(text), NULL); }
static void rndr_tablerow(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_BLOCK("table_row", PY_STR(text), NULL); }
static void rndr_blockcode(struct buf *ob, const struct buf *text, const struct buf *lang, void *opaque) { PROCESS_BLOCK("block_code", PY_STR(text), PY_STR(lang), NULL); }
static void rndr_tablecell(struct buf *ob, const struct buf *text, int flags, void *opaque) { PROCESS_BLOCK("table_cell", PY_STR(text), PY_INT(flags), NULL); }
static void rndr_raw_block(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_BLOCK("block_html", PY_STR(text), NULL); }
static int rndr_superscript(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_SPAN("superscript", PY_STR(text), NULL); }
static int rndr_codespan(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_SPAN("codespan", PY_STR(text), NULL); }
static int rndr_math(hoedown_buffer *ob, const hoedown_buffer *text, int displaymode, const hoedown_renderer_data *data) { PROCESS_SPAN("math", PY_STR(text), NULL); }