Hi Chris

> Is there yet a cookbook or rules of thumb for porting a plugin that
> adds to the formatter of tw2 to one that adds rules to the tw5
> wikitextrules?

No, not yet. I'm still expecting to do a fairly substantial
refactoring of the wikifier to make it properly re-entrant, which will
have an impact on how formatters are coded. Worse, I have yet to
properly document the new renderer architecture.

The easiest way to cope with the uncertainty might be to maintain the
new formatters as part of the core TW5 code base, and then I can
refactor them easily alongside the others. I plan to re-use the @space
syntax in standalone tiddlywiki, so I think it would make sense.

I think there are two jobs:

1) make the <<link>> macro understand how to make inter-space links
2) add/modify a new formatter to detect the @space link syntax and
emit the required <<link>> macro

> I've managed to get my tw5ikifier[1] code (mostly) correctly handing
> dependencies so I'd now like to add TiddlySpaceLinkPlugin[2] into the
> mix.

Great stuff, let me know if I can do anything to help.

Cheers

Jeremy

> It looks relatively straightforward, but before I tuck in I thought
> I'd ask.
>
> Thanks.
>
> [1] https://github.com/cdent/tw5ikifier
> [2]
> https://github.com/TiddlySpace/tiddlyspace/blob/master/src/plugins/TiddlySpaceLinkPlugin.js
>
> --
> Chris Dent                                   http://burningchrome.com/
>                                [...]
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/tiddlywikidev?hl=en.
>



-- 
Jeremy Ruston
mailto:[email protected]
http://www.tiddlywiki.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to