Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlighting of ALL CAPS action #131

Open
jeffk529 opened this issue May 14, 2021 · 1 comment
Open

Syntax highlighting of ALL CAPS action #131

jeffk529 opened this issue May 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@jeffk529
Copy link

Hi Piers,

Pretty sure I'm right on this, but I'll gladly stand corrected if not... ;)

I'm pretty sure that in the Fountain spec, a line that is in all caps should only be interpreted as a CHARACTER if not immediately followed by a blank line. Thus, in the example below, the shot CLOSE ON LITTLE BRAVE should be rendered as action - and with this style sheet, appear in white rather than teal text - since there's a space between it and Entering the room - unlike the dialog that follows.

I think the exception to this would be if there were two blank spaces in the empty line.

Of course, the workaround would be to "force action" using an exclamation point. i.e.,:

!CLOSE ON LITTLE BRAVE

Not a huge deal, just a little OCD on my part. :) Let me know if you have any thoughts or questions.

Thanks!

Jeff
image

@piersdeseilligny
Copy link
Owner

piersdeseilligny commented Jun 15, 2021

@jeffk529 sorry for the slow response, but yep you're 100% right. It's only a syntax highlighting thing though, the parser (and therefore live preview and PDF) correctly interpret it as action.

@piersdeseilligny piersdeseilligny added the bug Something isn't working label Jun 15, 2021
@piersdeseilligny piersdeseilligny changed the title Rendering of ALL CAPS action Syntax highlighting of ALL CAPS action Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants