Jump to content

Extension:LineBreaks

From mediawiki.org
MediaWiki extensions manual
LineBreaks
Release status: stable
Implementation Parser extension
Author(s) Dli7319talk
Latest version 1.0 (2020-07-20)
MediaWiki
License MIT License
Download

The LineBreaks extension allows you to use Markdown linebreaks in your wikitext.

Specifically, this extension converts \s\s\n and \\\n to <br />\n during the parsing stage.

Installation

[edit]
  • Download and place the file(s) in a directory called LineBreaks in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'LineBreaks' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.