[pmwiki-users] Howto format monospace

Tegan Dowling tmdowling at gmail.com
Mon Apr 10 10:18:59 CDT 2006


On 4/10/06, pmwiki at 911networks.com <pmwiki at 911networks.com> wrote:
>
> Is there a way to format [bold, underline and colors] monospaced
> code like:
>
>   $IPTABLES -F
>   $IPTABLES -F -t nat
>   $IPTABLES -X
>   $IPTABLES -F INPUT
>   $IPTABLES -F OUTPUT
>   $IPTABLES -F FORWARD
>
> To emphasize some stuff.
>
> I have been using: [@ and @] so it's either monospaced or prettied.
>
> Any suggestion?


What about specifying the font?  use

%define=style 'font-family:"Courier New", Courier, monospace'%


?

To have it in a box with a colored background around it, you could have

>>define=style bgcolor=#cccccc border='1px dotted gray'
'font-family:"Courier New", Courier, monospace'<<

test '''''test''''' %red%test%%

>><<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060410/9bf2864b/attachment.html 


More information about the pmwiki-users mailing list