Hi Blake,
Sorry for the delayed response.
On Tue, 17 Apr 2018, at 1:06 PM, Blake Henry wrote:
> >
> > However, now that I'm poking around I can't find where I got that
> > impression...
> >
>
> I found it. It's in the 'Title Page' section of the Fountain.io spec
> page:
https://fountain.io/syntax#section-titlepage
Ah cool, thanks, I was worried I'd just made it up.
> I like your suggestion of using title page syntax to define metadata
> and {{double-curlys}} to expand them.
Yeah I think this is safe enough for individual developers to play
around with, i.e. it's not going to break any scripts coming in from
other Fountain apps.
> Continuing on with your metadata model and combining it with a C
> directives approach, if the language supported string-only metadata
> conditionals where metadata is expanded in a conditional expression
> and the metadata tag is defined, then the expression evaluates to be
> true and if not present, evaluates false as regardless of the value as
> shown below
>
> {{if metadata}}included text{{endif}} or you may prefer to close with
> {{/if}}.
>
> version1: {{if version1}} check it out.{{endif}} evaluates true and
> includes the enclosed text. {{if version2}} check it in.{{endif}}
> evaluates false and nothing is expanded. alternatively {{if version1}}
> check it out.{{else if version2}}check it in.{{endif}} is equivalent.
>
> The following is more powerful: revision: green The {{if
> revision==green}} quick brown fox {{else}} lazy dog {{endif}}
> alternatively: The {{if revision==green}} quick brown fox {{else if
> revision==red}} lazy dog {{endif}}
>
> This same metadata conditional syntax could be used to implement
> alternate dialogues as well. rating: pg13 Frankly Scarlett, I don't
> give a {{if rating==pg13}}darn{else}}damn{{endif}}.
>
> These small additions that would grant more power to fountain. Most
> people would never use them and their text would still look like a
> screenplay. But the folks that need that power would be able to use
> the standard language and rest assured that their text would be
> rendered properly by all editors that properly implement the standard.
Are you developing a Fountain app with such a conditional templating
engine? If so, muchos kudos to you. My opinion (which honestly ought to
carry no weight here) is that this might be a bit too much for 99.9% of
writers. But please don't let my opinion dissuade you.
> > John has also suggested using for marking revised regions (see
> >
https://groups.google.com/d/msg/fountain-dev/Xv54y9jGIA0/q2bieH7yEgAJ).
> > I tend to think it's easier to embed a diff utility in the host
> > application.
> >
>
> I understand John and Stu's convictions that fountain files should
> look like screenplays. A noble goal. I'm just curious if that goal
> is achieved by limiting expansion of the specification? It seems to
> me that the lack of spec growth simply forces others to create rogue
> extensions or worse yet limit the use of fountain itself?
I used to have a very conservative perspective on the Fountain spec,
believing that it needed to be strictly standardised because if it
wasn't then... well I'm not sure what I thought would happen. But then I
heard John Gruber talking about his ambivalence towards any sort of
standardised Markdown.
I think he has the right idea: like Markdown, the basics in Fountain are
pretty solid; now developers can experiment and see what works. Call
these rogue extension, or maybe it's evolution. If you're making
something, I think John and Stu would probably encourage you to go ahead
and make it rather than wait for their permission. If the idea gains
traction then it will have a life of its own.