On Apr 26, 6:45 pm, Eric Shulman <[email protected]> wrote: > > Is there already a plugin that allows processing of wiki markup within > > a "monospace text" block, sort of like how the HTMLFormattingPlugin > > works with HTML? > > Instead of using a TiddlyWiki 'monospace block', e.g.: > > {{{ > ... your content here... > > }}} > > you could use real HTML to define the <pre>...</pre> block, like this: > > <html><pre>...your content here...</pre></html> > > This will render the content with the same styles as the TW-formatted > block (monospaced font, no word wrap, yellow background with border), > and then HTMLFormattingPlugin kicks in to also process the wiki syntax > with the block. > > Note: if you want the text to wrap, then add a little bit of 'inline > CSS', like this: > > <html><pre>@@white-space:normal;...your content here...@@</pre></html>
Thanks for pointing out the totally obvious solution I missed! :) That's much easier than trying to hijack the monospace text formatter. Thanks! Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" 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/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

