Why do you need the dynamic highlighting? If you are using square brackets etc and the links are fairly distinct a static hard coded pattern would be ok yeah? Or are the square brackets a workaround for the moment? ...] A markup converted to html not cutting it for you huh?
My intended audience are very non-technical. I'm putting together some tools for authors, who I think could benefit from some of the great goo available in text editors that isn't available from Word. For example, authors need version control as much as developers, but they don't really know about it; Sublime Text with Automatic Backups seems like a great starter in this area.
What comes next is richer manuscripts; if I have this paragraph;
Then I want the user to be able to create a suplementary file, Jake.wiki, by putting the cursor inside the string "Jake" and pressing a key. That means that the manuscript gets linked in to all the author's other notes, which is a big win. Thing is, I'm trying to keep the markup so light that authors don't realise they're using markup. If my instructions read 'there is a special code for...,' then I've failed.
The square brackets are more of an advanced feature, for longer phrases;
Although, if I'm really slick, I'll be able to detect the presence of a "Flash Gordon.wiki" file, and allow the user to navigate to it without using the square brackets.
So yeah, the square brackets are a pragmatic choice so that I can get something working ASAP.
Are you going to have facility for linking between different directories?
Already there if you use square brackets;
[code]why not travel to ..\my_other_wiki\other page][/code]
Otherwise, I don't know yet how I'm going to do this.