Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
9 check-ins using file src/main.c version c4e5b1b1d0
|
2022-02-23
| ||
| 09:45 |
Minor refactoring. Move the definition of BLOB_APPEND_LITERAL()
macro from markdown_html.c to blob.c so that
it could be used outside of markdown_html.c.
Also rename it to lowercase for consistency with other API.
Within markdown.c use that newly available macro instead of
blob_...
check-in: c8a8d0c94c user: george tags: markdown-footnotes
| |
| 08:21 |
Minor refactoring. Move the definition of BLOB_APPEND_BLOB()
macro from markdown_html.c to blob.c so that
it could be used outside of markdown_html.c.
Also rename it to blob_appendb() for consistency with
blob_appendf() and other API.
Within markdown.c u...
check-in: 33a681ebee user: george tags: markdown-footnotes
| |
| 07:36 | Fix handling of user-provided classes for unreferenced, joined and overnested footnotes. In all these cases the tokens of user-provided classes are rendered as plain-text and no special classes are added anywhere. check-in: 875472a8b0 user: george tags: markdown-footnotes | |
|
2022-02-21
| ||
| 05:14 |
Add a comment for append_footnote_upc().
Also substitute a variable of zero value with just "0" constant.
No functional changes.
check-in: ae8a3dd5aa user: george tags: markdown-footnotes
| |
| 04:29 | Impose a limit on the depth of nesting of inline footnotes. Also add a few test cases: for depth limiting and HTML hijacking. check-in: f4ff013ace user: george tags: markdown-footnotes | |
|
2022-02-20
| ||
| 23:00 | If there are issues with footnotes then set TH1 variable $footnotes_issues_counters to a space separated list of integers that count for "misref", "unref" and "joins". This eliminates the need for JavaScript for the case when a custom skin wants to [forum:/forumpost/119b0be29a2b096b|warn about issues with footnotes] in the header of ... check-in: 773cef5cf7 user: george tags: markdown-footnotes | |
|
2022-02-19
| ||
| 01:16 | Parse inline footnotes even if a renderer does not define a callback for rendering of footnote markers. This seems more correct even though the current implementation of backlink processor does define such callback as an empty function. check-in: e06c12d176 user: george tags: markdown-footnotes | |
| 01:00 |
Handle some corner cases more thoroughly: dismiss empty footnotes,
passthrough (more carefully) user-provided classlist if the token
is not followed by a blank character or if a footnote's text consists
just of such token and blank characters. Also simplify a little bit
a few places inside of is_footnote() function.
check-in: fe3157803f user: george tags: markdown-footnotes
| |
|
2022-02-18
| ||
| 01:33 |
Add --lint-footnotes option to the test-markdown-render
command. If this flag is given and footnotes in the input have issues, then
print to stderr the counters of "misrefs", "strays" and "split-defs"
and exit with error. This should partially address a concern
[forum:/forumpost/119b0be29a2b096b|raised at the fo...
check-in: 1f525713ff user: george tags: markdown-footnotes
| |