Thanks John. The second bit does just what I was hoping to do. Any ideas for the first two?
Thanks, Ryan On Tue, Jun 5, 2012 at 2:47 PM, John Rankin <[email protected]>wrote: > On 5/06/12 5:40 AM, Ryan Varick wrote: > >> >> 3. Is there a way to override the arrow ("->") markup so that it produces >> <blockquote> instead of <div class="indent">? I want to do this for my >> wiki, because, as the only author, I only ever intend to use it for quotes. >> And, I quote things frequently enough that this is the simplest markup I >> can appropriate for my uses. I don't like >>angle_bracket<< markup. >> > I have used a custom blockquote markup for quotations: > > ;attribution;Quotation text > > The markup rule is: > > Markup('^;;', 'block', '/^;([^;]*);(.*?)$/', > "'<:block><blockquote>'.PSS('$**2').('$1' ? ' — > <cite>'.PSS('$1').'</cite>' : '').'</blockquote>'"); > > It's not perfect -- if the attribution contains an HTML entity, the > semi-colon at the end of the &...; will end the attribution too early. > > To redefine the standard pmwiki markup rule, try: > > $BlockMarkups['indent'] = array('<blockquote>', > '</blockquote><blockquote>', '</blockquote>',1); > > Both changes can go in local/config.php. > > JR > > -- > John Rankin > > > > ______________________________**_________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/**mailman/listinfo/pmwiki-users<http://www.pmichaud.com/mailman/listinfo/pmwiki-users> >
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
