Thanks, Stephan. I'll give it a try and report back.
Roger
= = = = =
On Saturday, August 9, 2014 8:59:45 AM UTC+1, Stephan Hradek wrote:
>
> Open the tiddler $:/core/modules/parsers/wikiparser/rules/wikilink.js
>
> Search for the line
>
> textPrimitives.unWikiLink = "~";
>
> and enter above that line this text:
>
> var knownLinks = [
> "Gropius",
> "Bauhaus"
> ];
>
>
> Extend the list of words to your needs.
>
> Then search for the lines
>
> exports.init = function(parser) {
> this.parser = parser;
> // Regexp to match
> this.matchRegExp = new RegExp(textPrimitives.unWikiLink + "?" +
> textPrimitives.wikiLink,"mg");
> };
>
>
> and replace it with this:
>
> exports.init = function(parser) {
> this.parser = parser;
> // Regexp to match
> this.matchRegExp = new RegExp(textPrimitives.unWikiLink + "?(" +
> +textPrimitives.wikiLink+"|"+knownLinks.join("|")+")","mg");
> };
>
>
> Save your wiki and relaoad. That should linkify all the words you
> mentioned in the first lines you entered.
>
> It's a bit hacky, but the best I could come up in a short time.
>
>
>
>
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.