Exemple #1
0
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);
}
Exemple #2
0
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);
}
Exemple #3
0
static void
rndr_tablerow(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("table_row", PY_STR(text), NULL);
}
Exemple #4
0
static void
rndr_paragraph(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("paragraph", PY_STR(text), NULL);
}
Exemple #5
0
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);
}
Exemple #6
0
static void
rndr_raw_block(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("block_html", PY_STR(text), NULL);
}
Exemple #7
0
static void
rndr_tablecell(hoedown_buffer *ob, const hoedown_buffer *text, hoedown_table_flags flags, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("table_cell", PY_STR(text), PY_INT(flags), NULL);
}
Exemple #8
0
static void
rndr_normal_text(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("normal_text", PY_STR(text), NULL);
}
Exemple #9
0
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);
}
Exemple #10
0
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);
}
Exemple #11
0
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);
}
Exemple #12
0
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);
}
Exemple #13
0
static void
rndr_doc_footer(hoedown_buffer *ob, int inline_render, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("doc_footer", NULL);
}
Exemple #14
0
static void
rndr_entity(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("entity", PY_STR(text), NULL);
}
Exemple #15
0
static void
rndr_footnote_def(hoedown_buffer *ob, const hoedown_buffer *text, unsigned int num, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("footnote_def", PY_STR(text), PY_INT(num), NULL);
}
Exemple #16
0
static void
rndr_footnotes(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("footnotes", PY_STR(text), NULL);
}
Exemple #17
0
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);
}
Exemple #18
0
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);
}
Exemple #19
0
static void
rndr_entity(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("entity", PY_STR(text), NULL);
}
Exemple #20
0
static void
rndr_hrule(hoedown_buffer *ob, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("hrule", NULL);
}
Exemple #21
0
static void
rndr_doc_footer(struct buf *ob, void *opaque)
{
    PROCESS_BLOCK("doc_footer", NULL);
}
Exemple #22
0
static void
rndr_hrule(struct buf *ob, void *opaque)
{
    PROCESS_BLOCK("hrule", NULL);
}
Exemple #23
0
static void
rndr_blockquote(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("block_quote", PY_STR(text), NULL);
}
Exemple #24
0
static void
rndr_table(hoedown_buffer *ob, const hoedown_buffer *content, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("table", PY_STR(content), NULL);
}
Exemple #25
0
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);
}
Exemple #26
0
static void
rndr_tablerow(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("table_row", PY_STR(text), NULL);
}
Exemple #27
0
static void
rndr_blockmath(struct buf *ob, const struct buf *math, void *opaque)
{
    PROCESS_BLOCK("block_math", PY_STR(math), NULL);
}
Exemple #28
0
static void
rndr_paragraph(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("paragraph", PY_STR(text), NULL);
}