Difference between revisions of "Help:Funtoo Editing Guidelines/Inline Code"
Jump to navigation
Jump to search
(Created page with "=== Inline Code === To emphasize commands, and other technical jargon when they appear inline in a paragraph, use the <nowiki>{{c}}</nowiki> template. When referencing files,...") |
(No difference)
|
Revision as of 03:41, February 24, 2019
Inline Code
To emphasize commands, and other technical jargon when they appear inline in a paragraph, use the {{c}} template. When referencing files, use the {{f}} template.
The {{f|/etc/fstab}} file is an important one. Another important file is {{f|/boot/grub/grub.cfg}}. The {{c|emerge}} command is really nifty.
This example produces the following output:
The /etc/fstab
file is an important one. Another important file is /boot/grub/grub.cfg
. The emerge
command is really nifty.
Important
The <tt> tag has been deprecated for the purpose of tagging inline code, to conform with HTML5, and the previous use of the <code> tag is discouraged. It is more maintainable to use the {{c}} template.