On Wed, May 11, 2016 at 6:40 PM, Warren Young <w...@etr-usa.com> wrote:
>
> Clearly this would be an extension to Markdown.  Doesn’t Fossil already
> have a few of those?  Tables, at the least.


As I recall, Fossil uses libdiscount [1] to provide markdown support. that
library provides PHP Markdown Extras [2] as well as a few of it's own
extensions.

Fossils's Markdown [3] page also mentions "automatic links", which are URLs
or email addresses enclosed in < and >. This is not mentioned in either
libdiscount or PHP Markdown Extras, but I assume it is provided by
libdiscount.

I suspect enhancing automatic links to support <wikiname>, <commitID>,
<tag> and <ticketID> would be easier to do. But however it's done, would
require enhancing libdiscount (or layer preprocessing onto libdiscount)).

[1] http://www.pell.portland.or.us/~orc/Code/discount/
[2] https://michelf.ca/projects/php-markdown/extra/
[3] http://fossil-scm.org/index.html/md_rules

PS PHP Markdown Extras mentions image links, showing a syntax like:
![img](URL) - I assume libdiscount provides this, too.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to