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 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 int rndr_ins(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_SPAN("ins", 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); }
static int rndr_codespan(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_SPAN("codespan", 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 int rndr_raw_html(struct buf *ob, const struct buf *text, void *opaque) { PROCESS_SPAN("raw_html", PY_STR(text), NULL); }
static int rndr_linebreak(struct buf *ob, void *opaque) { PROCESS_SPAN("linebreak", NULL); }
static int rndr_raw_html(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_SPAN("raw_html", PY_STR(text), NULL); }
static int rndr_link(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_buffer *link, const hoedown_buffer *title, const hoedown_renderer_data *data) { PROCESS_SPAN("link", PY_STR(content), PY_STR(link), PY_STR(title), NULL); }
static int rndr_linebreak(hoedown_buffer *ob, const hoedown_renderer_data *data) { PROCESS_SPAN("linebreak", NULL); }
static int rndr_image(hoedown_buffer *ob, const hoedown_buffer *link, const hoedown_buffer *title, const hoedown_buffer *alt, const hoedown_renderer_data *data) { PROCESS_SPAN("image", PY_STR(link), PY_STR(title), PY_STR(alt), NULL); }
static int rndr_quote(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_SPAN("quote", PY_STR(text), NULL); }
static int rndr_highlight(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_SPAN("highlight", 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_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 int rndr_triple_emphasis(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_SPAN("triple_emphasis", 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_strikethrough(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_SPAN("strikethrough", 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_superscript(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data) { PROCESS_SPAN("superscript", 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_footnote_ref(hoedown_buffer *ob, unsigned int num, const hoedown_renderer_data *data) { PROCESS_SPAN("footnote_ref", PY_INT(num), NULL); }