Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pandoc/pandoc-fountain
Custom pandoc reader for Fountain screenplay markup
https://github.com/pandoc/pandoc-fountain
Last synced: 3 months ago
JSON representation
Custom pandoc reader for Fountain screenplay markup
- Host: GitHub
- URL: https://github.com/pandoc/pandoc-fountain
- Owner: pandoc
- License: bsd-3-clause
- Created: 2021-11-27T19:35:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T18:15:08.000Z (over 1 year ago)
- Last Synced: 2024-07-18T05:35:54.545Z (4 months ago)
- Language: Lua
- Size: 26.4 KB
- Stars: 18
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pandoc-fountain
A [custom pandoc reader] for [Fountain] screenplay markup.
To convert from Fountain to HTML:
```
pandoc -f fountain.lua sample.fountain -s -t html5 \
--css fountain.css --template ./fountain.html5 -o sample.html
```To convert to EPUB:
```
pandoc -f fountain.lua sample.fountain -s -t epub3 \
--css fountain.css --template ./fountain.epub3 -o sample.epub
```To convert to Docx:
```
pandoc -f fountain.lua --reference-doc fountain-ref.docx \
sample.fountain -o sample.docx
```To convert to PDF (assuming you have wkhtmltopdf installed):
```
pandoc -f fountain.lua sample.fountain -s -t html5 \
--css fountain.css --template ./fountain.html5 -o sample.pdf
```[Fountain]: https://fountain.io/
[custom pandoc reader]: https://pandoc.org/custom-readers.html