Template:Code
From FreeBSDwiki
(Difference between revisions)
(problem workaround) |
|||
Line 3: | Line 3: | ||
Usage: | Usage: | ||
− | Indicates code text. For use within paragraphs. Template isn't functional with use of pipes "|" and other special characters. <nowiki>nowiki tags</nowiki> may be used to suppress the pipe | + | Indicates code text. For use within paragraphs. Template isn't functional with use of pipes "|", equal signs "=" and other special characters. <nowiki>nowiki tags</nowiki> may be used to suppress the pipe and equal functions. |
Revision as of 00:53, 30 October 2015
{{{1}}}
Usage:
Indicates code text. For use within paragraphs. Template isn't functional with use of pipes "|", equal signs "=" and other special characters. nowiki tags may be used to suppress the pipe and equal functions.
Examples:
{{code|kldstat -v}} produces kldstat -v.
{{code|ls /etc/rc.conf <nowiki> | </nowiki> grep ifconfig}} produces ls /etc/rc.conf | grep ifconfig