On Jan 26, 2016, at 12:36 PM, John Gabriele <jgabri...@fastmail.fm> wrote:
> 
> I think it would be very helpful if, when using Markdown,
> the Fossil wiki had built-in syntax for linking to other pages in the
> wiki.

Agreed.

> Many popular wikis (MediaWiki (Wikipedia), moinmoin, Usemod,
> PmWiki, ikiwiki) use [[this style]] syntax.

I think you’re mixing two things that ought not be mixed.

Fossil Wiki syntax already supports this, as drh pointed out up-thread:

    [Other Wiki Article|plus optional descriptive text]

When adding such a feature to the Fossil Markdown processor, it should be 
within the existing syntax, not by borrowing wiki syntax.

Currently, if you say something like this in Fossil Markdown:

    [some descriptive text](Other Wiki Article)

you get broken HTML:

    <a href="Other Wiki Article">some descriptive text</a>

The only trick required here is for Fossil’s Markdown formatter to realize that 
“Other Wiki Article” is an existing wiki article title and rewrite the URL 
appropriately.

There is an advantage to [[this syntax]] in wikis: it can point to articles 
that don’t exist yet, implicitly requesting someone to write that article.  I 
don’t see that Fossil should provide such a feature.  Fossil Wiki is intended 
for well-scoped wikis, not encyclopedia wikis, so there is no need for dangling 
links.
_______________________________________________
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