예제 #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);
}
예제 #2
0
파일: wrapper.c 프로젝트: altertain/misaka
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);
}
예제 #3
0
파일: wrapper.c 프로젝트: altertain/misaka
static void
rndr_tablerow(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("table_row", PY_STR(text), NULL);
}
예제 #4
0
파일: wrapper.c 프로젝트: altertain/misaka
static void
rndr_paragraph(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("paragraph", PY_STR(text), NULL);
}
예제 #5
0
파일: wrapper.c 프로젝트: altertain/misaka
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);
}
예제 #6
0
파일: wrapper.c 프로젝트: altertain/misaka
static void
rndr_raw_block(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("block_html", PY_STR(text), NULL);
}
예제 #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);
}
예제 #8
0
파일: wrapper.c 프로젝트: altertain/misaka
static void
rndr_normal_text(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("normal_text", PY_STR(text), NULL);
}
예제 #9
0
파일: wrapper.c 프로젝트: altertain/misaka
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);
}
예제 #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);
}
예제 #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);
}
예제 #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);
}
예제 #13
0
static void
rndr_doc_footer(hoedown_buffer *ob, int inline_render, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("doc_footer", NULL);
}
예제 #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);
}
예제 #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);
}
예제 #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);
}
예제 #17
0
파일: wrapper.c 프로젝트: altertain/misaka
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);
}
예제 #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);
}
예제 #19
0
파일: wrapper.c 프로젝트: altertain/misaka
static void
rndr_entity(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("entity", PY_STR(text), NULL);
}
예제 #20
0
static void
rndr_hrule(hoedown_buffer *ob, const hoedown_renderer_data *data)
{
    PROCESS_BLOCK("hrule", NULL);
}
예제 #21
0
파일: wrapper.c 프로젝트: altertain/misaka
static void
rndr_doc_footer(struct buf *ob, void *opaque)
{
    PROCESS_BLOCK("doc_footer", NULL);
}
예제 #22
0
파일: wrapper.c 프로젝트: altertain/misaka
static void
rndr_hrule(struct buf *ob, void *opaque)
{
    PROCESS_BLOCK("hrule", NULL);
}
예제 #23
0
파일: wrapper.c 프로젝트: altertain/misaka
static void
rndr_blockquote(struct buf *ob, const struct buf *text, void *opaque)
{
    PROCESS_BLOCK("block_quote", PY_STR(text), NULL);
}
예제 #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);
}
예제 #25
0
파일: wrapper.c 프로젝트: altertain/misaka
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);
}
예제 #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);
}
예제 #27
0
파일: wrapper.c 프로젝트: beingryu/misaka
static void
rndr_blockmath(struct buf *ob, const struct buf *math, void *opaque)
{
    PROCESS_BLOCK("block_math", PY_STR(math), NULL);
}
예제 #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);
}