Jump to content

Extension:ConsoleOutput

From mediawiki.org
MediaWiki extensions manual
ConsoleOutput
Release status: stable
Implementation Tag
Author(s) Daniel Robbinstalk
MediaWiki 1.25+
License GNU General Public License 2.0 or later
Download
console

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

[edit]

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

Suggested use

[edit]

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

[edit]
An example of text output using the ConsoleOutput extension.