Extension:ConsoleOutput

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
ConsoleOutput
Release status: stableCategory:Stable extensions
Implementation Tag Category:Tag extensions
Author(s) Daniel Robbinstalk
MediaWiki 1.25+Category:Extensions with manual MediaWiki version
License GNU General Public License 2.0 or later
Download Category:Extensions in GitHub version control
console
Category:All extensions

The ConsoleOutput extension provides a new tag, <console>, which can be used to format and colorize terminal output.

Its purpose is to accurately display colors that appear on terminals, and provide a means to highlight commands that a user types so that they are easy to see in relation to program output. This extension is used by Funtoo Linux for its installation and other documentation.

Wikis Using ConsoleOutput

The Funtoo Linux wiki uses the ConsoleOutput extension for rendering interactive console sessions in system documentation.

Suggested use

It's generally recommended to use a template named console which in turn uses the <console> tag, such as the Console template on the Funtoo Linux wiki.

Example output

An example of text output using the ConsoleOutput extension.
Category:All extensions Category:Extensions in GitHub version control Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:ParserFirstCallInit extensions Category:Stable extensions Category:Tag extensions