danchoi/soywiki — pull request #29 by wawe (2013-08-19 14:30:50+00:00)
Title: Allow filesystem links in markdown syntax

I really needed to link to files in the local filesystem. Use case is an index for a personal library of PDF files. I like to collect my notes in soywiki, and be able to open the relevant PDF file with a few keypresses.

Since soywiki already uses open/xdg-open to process links, I simply extended the regular expression for HTTP links to match markdown syntax, no matter whether the href includes HTTP or not, i.e. `[My PDF](../../library/research/pertinent.pdf)` is now matched.

Additionally, I changed the syntax highlighting to not highlight the complete markdown syntax, but only the URL part, as to emulate the behaviour from before.

This might be to specific to my needs and need some addional changes.
I'd just be happy to get some feedback whether supporting relative links is considered a useful feature.