Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Automatically render a horizontal rule before the list of footnotes. If desired a particular skin can hide it using CSS selector "hr.footnotes-separator". |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | markdown-footnotes |
Files: | files | file ages | folders |
SHA3-256: |
6807b434a9e85e08ce97d2c33250846f |
User & Date: | george 2022-02-04 19:24:42 |
Context
2022-02-04
| ||
19:47 | Minor code refactoring. ... (check-in: 2636e224 user: george tags: markdown-footnotes) | |
19:24 | Automatically render a horizontal rule before the list of footnotes. If desired a particular skin can hide it using CSS selector "hr.footnotes-separator". ... (check-in: 6807b434 user: george tags: markdown-footnotes) | |
19:08 | Add file test/markdown-test3.md that is suggested as an accumulator of footnotes-specific test cases. ... (check-in: fe9e6ff9 user: george tags: markdown-footnotes) | |
Changes
Changes to src/markdown_html.c.
︙ | ︙ | |||
394 395 396 397 398 399 400 | BLOB_APPEND_BLOB(ob, text); BLOB_APPEND_LITERAL(ob, "\n</li>\n"); } static void html_footnotes( struct Blob *ob, const struct Blob *items, void *opaque ){ if( items && blob_size(items) ){ | | > | 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 | BLOB_APPEND_BLOB(ob, text); BLOB_APPEND_LITERAL(ob, "\n</li>\n"); } static void html_footnotes( struct Blob *ob, const struct Blob *items, void *opaque ){ if( items && blob_size(items) ){ BLOB_APPEND_LITERAL(ob, "\n<hr class='footnotes-separator'/>\n<ol class='footnotes'>\n"); BLOB_APPEND_BLOB(ob, items); BLOB_APPEND_LITERAL(ob, "</ol>\n"); } } /* HTML span tags */ |
︙ | ︙ |