If I wanted to implement .fountain (screenplay markdown) support in Hugo, what would the best way be to do this?
- should it be implemented in the main source of Hugo using a go module (in the same way goldmark is implemented) maybe something like GitHub - rsdoiel/fountain: experimental golang package for working with Fountain formatted screenplays.
- should it be implemented as a short code? If so, how would something that would need to parse a file line-by-line be implemented?
- should it be implemented as a separate process which is somehow called after?
- can the content format for pandoc be affected in such a way so as to use an external script to process fountain to html? GitHub - pandoc/pandoc-fountain: Custom pandoc reader for Fountain screenplay markup
Anyway, thoughts and opinions are appreciated.