[pmwiki-users] Howto format monospace
Patrick R. Michaud
pmichaud at pobox.com
Mon Apr 10 10:09:18 CDT 2006
On Mon, Apr 10, 2006 at 08:04:59AM -0700, pmwiki at 911networks.com wrote:
> Patrick R. Michaud rote:
> > 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
> > ..
> >
> How is it possible to also have a box with a colored background
> around it, like in [@..@]
Use a div:
>>bgcolor=#ccccff<<
'''$IPTABLES''' -F
%red%$IPTABLES -F -t nat
$IPTABLES %green%-F -t nat
..
>><<
Pm
More information about the pmwiki-users
mailing list