[pmwiki-users] Howto format monospace

Patrick R. Michaud pmichaud at pobox.com
Mon Apr 10 00:29:55 CDT 2006


On Sun, Apr 09, 2006 at 10:22:52PM -0700, 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.

Leave off the [@...@], but leave in the leading spaces.

  '''$IPTABLES''' -F
  %red%$IPTABLES -F -t nat
  $IPTABLES %green%-F -t nat
  ..

Pm




More information about the pmwiki-users mailing list