Differences From Artifact [1de7e0f5d3]:
- File src/markdown_html.c — part of check-in [5e5732f1d9] at 2024-09-03 14:56:22 on branch md-col-header-alignment — Minimal change to MD to HTML styling to allow `:` alignment markers to be obeyed. Without this, the skin's default left alignment takes over because although it's brought in at the head of the document, the body doesn't override it because our CSS selectors are more specific, giving them precedence. (user: wyoung size: 27285) [more...]
To Artifact [ebb346667c]:
- File src/markdown_html.c — part of check-in [e7bc33f080] at 2025-03-04 00:39:34 on branch comment-markdown-links — Proof-of-concept code that allows markdown-style hyperlinks to appear in check-in comments. Markdown-style hyperlinks are not allowed in ordinary text/x-fossil-wiki for backwards compatibility. This simply change reduces the need to provide full markdown support for check-in comments. (user: drh size: 27284)
| ︙ | ︙ | |||
813 814 815 816 817 818 819 |
char zClose[20];
if( zLink==0 || zLink[0]==0 ){
zClose[0] = 0;
}else{
static const int flags =
WIKI_NOBADLINKS |
| | | 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 |
char zClose[20];
if( zLink==0 || zLink[0]==0 ){
zClose[0] = 0;
}else{
static const int flags =
WIKI_NOBADLINKS |
WIKI_MARKDOWN_URL
;
wiki_resolve_hyperlink(ob, flags, zLink, zClose, sizeof(zClose), 0, zTitle);
}
if( blob_size(content)==0 ){
if( link ) blob_appendb(ob, link);
}else{
blob_appendb(ob, content);
|
| ︙ | ︙ |