|
c501c891
|
2020-07-30T10:13:05
|
|
Fix spelling of "than" in many occurances.
I often spell it errorneously as "then". Doing this mistake way too
often when typing fast.
|
|
b4c30cd6
|
2020-02-13T02:23:03
|
|
Improve wiki-link parsing.
* Get rid of MD_LINE::total_indent.
* Remove some special complicated branching for nested images: Instead
we use md_rollback() the wiki-link destination span to kill _any_
marks resolved so far, including the images.
* Remove any length limit from label. Only destination length is
limited, regardless of whether '|' is present or not.
* Move the special handling of `[[foo|]]` from md_process_inlines()
into md_resolve_links(). We simply expand the closer mark to consume
the `|`.
* Do not modify the opener and closer marks until we really know it
is indeed a wiki-link.
|
|
e336e640
|
2019-11-04T15:20:59
|
|
Add support for Wiki links (#92)
With a new flag MD_FLAG_WIKILINKS, recoginize wiki-style links
as [[foo]] and [[foo|bar]].
Update also the HTML renderer accordingly, to output a custom
HTML tag <x-wikilink> when seeing it.
|