13 releases
0.1.12 | Aug 28, 2019 |
---|---|
0.1.11 | Aug 22, 2019 |
0.1.9 | Jul 17, 2019 |
#2029 in Text processing
31KB
589 lines
fountain-rs
A library for parsing Fountain markup. Fountain is used for screen- or stageplays.
Usage
This library parses Fountain markup and can render it into print-friendly HTML. From there, some other program can print it or convert it into a PDF. We use Nom 5 for parsing.
Progress
Eventually I would like fountain-rs
to be fully compliant with the Fountain spec. Only a subset of the spec has currently been implemented. So far these Fountain elements are implemented:
- Action
- Character
- Dialogue
- Scene
- Parenthetical
- Title page
This project's goal is to replace Amazon's recently-deprecated Storywriter as an easy way to write Fountain docs in a browser. Features will get added when I need them for my own personal use. If fountain-rs
doesn't support your particular use-case, please open an issue.
License
This is licensed under the MIT License or the Unlicense, whichever is most permissive and legally recognized in your jurisdiction.
Dependencies
~0.8–1MB
~20K SLoC