Well, I had great success getting it to work (all in 1 markup rule instead of 8--including the box). Much simpler and easier to maintain and customize. And it seems to solve lot's of problems. Now I just got to figure out the best way to convert all the -- to << and --- to --. Some kind of php macro... Then I think we got it...
Definitely a big improvement code wise. And I think in the end it will be easier semantic userwise. This is likely to come out in the next release... So much for our hard and fast feature freeze... :) Cheers, Dan On Wed, May 13, 2009 at 8:40 AM, The Editor <[email protected]> wrote: > A friend sent me a link to a software project he is working on which > has some very interesting ideas. A couple markup ideas in particular > intrigued me: > > ##text## could be a nice shortcut equivalent to <box>text</box> > (can you see the little box in the middle of the #?) > > <<text<< could be smaller/less than, ie equivalent to --text-- >>>text>> could be larger/greater than, ie equivalent to ++text++ > > The < symbol solves the really big problem of everyone putting -- in a > comment box and then having the output get messed up... > > Well, just ideas. I'm not sure the interruption is worth the trouble, > but I personally like the changes. If we switched, we would have to > design a little script to update all the -- markups and change them to > <<. But it would solve some nice problems. > > The box shortcut can be implemented by just doing in a config file: > > MarkUp('fmt', '##', '/##(.*?)##/se', 'BOLTMcode("$1", "box", "")'); // > ##box## > > Looking at the markup code, I'm wondering if we couldn't just combine > all these style markups (**++--||^^__//) into one function. Should > improve performance... > > Any thoughts? > > Cheers, > Dan > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" 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/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
