Extension:Fountain

The Fountain extension parses screenplay text written in Fountain format inside of tags and styles it to look like a correctly formatted Screenplay. The Page source code from inside the tags can be copied to any editor ready for Fountain and be converted to PDF.

Installation
To activate this extension, add the following into your MediaWiki's composer.json

do a composer install after updating composer

and add at the bottom of your LocalSettings.php file:

Usage
To convert a part of your MediaWiki article, you simple have to enclose the selected text with tags. The complete Syntax can be found on Fountain.io. Also a cool usable live demo.

after saving or previewing changes results in: