This project is read-only.

Using multiple macros on one line

Mar 12, 2010 at 7:17 PM

I have done some research but I can't seem to find a way to use multiple macros on one line. For example if I want to take a few lines and make them both bold and italic. Is there a way to do this or would it have to be a custom macro? Would it even be possible with a custom macro? Thanks for the help.

Mar 12, 2010 at 7:34 PM


When I was first developing WikiPlex I tried wrapping these scenarios into a single macro, but the problem is the way the regex is built up - ie, the top most macro rule (if matches) trumps lower macro rules. So, to handle this scenario you need to have separate macros for each scenario - similarly to the supplied BoldMacro, ItalicsMacro, and UnderlineMacro.