Template:Codeline/Doc: Difference between revisions

From Octave
Jump to navigation Jump to search
(mention } as problematic on template)
No edit summary
 
Line 9: Line 9:
:Since 3.4.0, packages can be installed with {{Codeline|<nowiki>pkg install -forge pkgname</nowiki>}} without need to actually download the file manually.
:Since 3.4.0, packages can be installed with {{Codeline|<nowiki>pkg install -forge pkgname</nowiki>}} without need to actually download the file manually.


<noinclude>[[Category:Template Documentation]]</noinclude>
[[Category:Template with documentation]]

Latest revision as of 10:56, 30 November 2013

This template is for code which is included inline.

  • Certain characters, such as =, | or } can break this template. In those cases, enclose the code in <nowiki>...</nowiki> tags or use their HTML numbers.

Example:

Since 3.4.0, packages can be installed with {{Codeline|pkg install -forge pkgname}} without need to actually download the file manually.

Will produce:

Since 3.4.0, packages can be installed with pkg install -forge pkgname without need to actually download the file manually.