parse_footnote_def • parse a single footnote definition */
| 1992 | |
| 1993 | /* parse_footnote_def • parse a single footnote definition */ |
| 1994 | static void |
| 1995 | parse_footnote_def(hoedown_buffer *ob, hoedown_document *doc, unsigned int num, uint8_t *data, size_t size) |
| 1996 | { |
| 1997 | hoedown_buffer *work = 0; |
| 1998 | work = newbuf(doc, BUFFER_SPAN); |
| 1999 | |
| 2000 | parse_block(work, doc, data, size); |
| 2001 | |
| 2002 | if (doc->md.footnote_def) |
| 2003 | doc->md.footnote_def(ob, work, num, &doc->data); |
| 2004 | popbuf(doc, BUFFER_SPAN); |
| 2005 | } |
| 2006 | |
| 2007 | /* parse_footnote_list • render the contents of the footnotes */ |
| 2008 | static void |
no test coverage detected