Extension:LineBreaks

From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
LineBreaks
Release status: stable
Implementation Parser extension
Author(s) Dli7319talk
Latest version 1.0 (2020-07-20)
License MIT License
Download

Check usage and version matrix.

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:
    wfLoadExtension( 'LineBreaks' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.