screenplain icon indicating copy to clipboard operation
screenplain copied to clipboard

Support parsing of synopses

Open lenormf opened this issue 5 years ago • 2 comments

The reference[1] defines synopses as follows:

Synopses are purely optional tools for the writer's outlining
and organizational process. They are ignored in formatted
output.

This commit makes the Foutain parser aware of them, even though the export classes ultimately ignore them.

[1] https://fountain.io/syntax#section-overview

lenormf avatar May 17 '20 12:05 lenormf

What does this patch do? The parser already supports synopses (although it's called synopsis, as that is the singular form of synopses; I just noticed that the incorrect plural form "synopsises" is used at one function name though).

vilcans avatar May 23 '20 14:05 vilcans

I didn't notice the existing code because there was no regex for synopses.

Without my patch, synopses are inserted into the output.

lenormf avatar May 23 '20 14:05 lenormf