Extension:LineBreaks
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | Parser extensionCategory:Parser extensions |
Author(s) | Dli7319talk |
Latest version | 1.0 (2020-07-20) |
MediaWiki | Category:Extensions without MediaWiki version |
License | MIT License |
Download | GitHub: Note: |
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 file:
wfLoadExtension( 'LineBreaks' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Category:All extensions
Category:Extensions in GitHub version control
Category:Extensions not in ExtensionJson
Category:Extensions without MediaWiki version
Category:Extensions without a compatibility policy
Category:Extensions without an image
Category:MIT licensed extensions
Category:ParserBeforeInternalParse extensions
Category:Parser extensions
Category:Stable extensions