On Mon, Dec 23, 2013 at 4:32 PM, Stephan Hradek <[email protected]>wrote:

> My idea was to make this configurable. It would also allow other
> replacements like:
>
> \replace /\(\(/<span class="myButton">/
> \replace /\)\)/<\/span>/
>
> This preprocessing would surround any "((buttontext))" with some html
> stuff which a CSS would render in a button-like way.
>

Another way of thinking about this feature would be as the ability to
define a regexp that invokes a macro, passing the captured groups as
parameters. It would be an interesting half-way house between our present
textual macros and writing a fully-fledged javascript parser rule module.

Best wishes

Jeremy




-- 
Jeremy Ruston
mailto:[email protected]

-- 
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/groups/opt_out.

Reply via email to