Extension:LineBreaks
![]() Release status: stable |
|
---|---|
Implementation | Parser extension |
Author(s) | Dli7319talk |
Latest version | 1.0 (2020-07-20) |
MediaWiki | |
License | MIT License |
Download | |
Hooks used
|
|
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
- Download and place the file(s) in a directory called
LineBreaks
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
wfLoadExtension( 'LineBreaks' );
file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.