fountainview 0.0.4 fountainview: ^0.0.4 copied to clipboard
FountainView is a Flutter Plugin for viewing Fountain markup documents.
FountainView #
FountainView is a Flutter Plugin created using a Xamarin library written in F#
The purpose is to demonstrate the use of Embeddinator-4000 to create native libraries from Xamarin library that can then be reused in a Flutter application.
FountainView is a effectivly a renderer for Fountain documents. It takes a single string and displays the formatted document.
Usage #
Usage is very straigt forward simply construct a new FountainView widget and provide it with a string containing valid Fountain Markup text.
new FountainView(fountainText)
The text will be parsed and converted to HTML and displayed as using the flutter_html plugin.
Note I plan to switch to the recently released official webview_flutter once it is stable.
Acknowdledgments #
This plugin is made using FountainSharp with thanks to Bryan Costanich
FountainSharp is an F# based Fountain Markdown processor for use via .NET/Xamarin projects. FoutainSharp parses Fountain-formatted scripts and loads them into model that can be transformed or used for WYSIWYG editing.
It ships with a sample transformation engine that transforms Fountain markdown into HTML.