This page collects the main ideas behind writing screenplays in plain text, especially Fountain-style syntax and markdown-like approaches that can be adapted for personal reference. It also covers pagination, revision workflow, and the tool ecosystem around plain-text screenwriting.
Last updated: 2025
See also: Subtitle Technical Spec: Markdown-Like Parser Reference
Fountain is a plain-text screenplay format inspired by John Gruber's Markdown. It is designed so you can write a script in any text editor and later convert it into properly formatted screenplay output — standard US letter, 12pt Courier, correct margins.
A markdown-style screenplay workflow is similar in spirit, but usually depends on custom rules, plugins, or styling choices rather than a universal standard. Fountain is the closest thing to a universal standard that exists for plain-text screenwriting.
The format was created by screenwriter John August and Stu Maschwitz. The full open specification lives at fountain.io.
Plain text writing is useful because it is:
A screenplay usually includes these main parts:
This section covers actual Fountain syntax rules, including the parts that trip people up.
The title page uses key-value pairs at the very top of the file, before any scene content. A blank line separates it from the body of the script.
Title: Sample Script Credit: Written by Author: Jordan Ellis Draft date: January 2025 Contact: jordan@example.com INT. KITCHEN - DAY
Standard keys: Title, Credit, Author, Source, Draft date, Copyright, Contact, Notes.
Custom keys are allowed and passed through by most parsers.
A scene heading tells us where and when the scene happens. Fountain auto-detects lines
beginning with INT., EXT., INT./EXT., I/E, or EST. as scene headings.
INT. OFFICE - NIGHT EXT. ROOFTOP - CONTINUOUS INT./EXT. CAR - DAY
To force a line to be treated as a scene heading regardless of content, prefix it with .:
.LATER THAT NIGHT
Common parts: interior/exterior, location, time of day. Time of day conventions include DAY, NIGHT, CONTINUOUS, LATER, MOMENTS LATER, DAWN, DUSK.
Action lines describe what is happening visually. Any paragraph that is not identified as another element defaults to action.
The door opens slowly. Dust falls from the frame. A single light bulb swings overhead.
To force a line to action (overriding any auto-detection), prefix with !:
!SOMEHOW THIS LINE WOULD BE MISREAD — force it to action with !
Keep action lines clear, present tense, and visual. Avoid unfilmable internal states.
A character name is any line in ALL CAPS that appears before dialogue, with a blank line before it and no blank line between it and the dialogue.
ALEX We should leave now.
To force a character name that contains lowercase (e.g. a stylized name), prefix with @:
@McCLANE Yippee-ki-yay.
A character extension goes in parentheses on the same line:
ALEX (V.O.) I never told her the truth. MAYA (O.S.) Alex? Are you in there?
Common extensions: (V.O.) voice over, (O.S.) off screen, (CONT'D) continued.
Dialogue is the text immediately following a character name, with no blank line between them.
ALEX We should leave now. I mean it this time.
Parentheticals give a small direction about delivery. They sit between the character name and the dialogue, or within dialogue.
ALEX (quietly, almost to herself) We should leave now.
Use parentheticals sparingly. Overuse is a mark of amateur scripts.
Transitions are right-aligned in formatted output. Fountain auto-detects lines ending
with TO: as transitions.
CUT TO: DISSOLVE TO: FADE OUT. SMASH CUT TO:
To force any line to a transition, prefix with > and follow with a blank line on each side:
> TITLE CARD: "Three years later."
Lines prefixed with ~ are treated as lyrics — formatted in italics in output.
~Happy birthday to you ~Happy birthday to you
Two characters speaking simultaneously are placed side by side in formatted output.
Mark the second character block with a ^ suffix:
JORDAN I can explain— MAYA ^ Don't.
Any text wrapped in /* */ is completely excluded from formatted output.
This is ideal for production notes, cut scenes you want to keep, or draft comments.
/* NOTE TO SELF: This scene may be cut in revision 3. Check with director before locking. INT. GARAGE - DAY BRICK This is everybody we've ever put away. */
The boneyard can span as many lines as needed. It is the only Fountain syntax that crosses line breaks.
Sections are organizational markers for the writer. They use # like Markdown headers
but do not appear in formatted output — they are invisible to the reader.
# Act One ## The Setup ### Scene: The apartment
Synopses are single-line summaries prefixed with =. Also invisible in output.
= Elena discovers the machine is broken and has to leave without coffee.
Apps like Highland 2 use sections and synopses to build a navigable outline panel alongside the script editor.
Fountain follows Markdown emphasis rules with one important difference: underscores mean underline, not italic (underlining is a distinct tool in screenwriting).
*italics* **bold** ***bold italic*** _underline_
This is one of the most practically important topics for production use, and the least covered in most plain-text screenwriting documentation.
The standard screenplay page = one minute of screen time. This is not a rule of thumb — it is a production planning tool. Scene breakdowns, shooting schedules, and call sheets are all derived from page counts. A script that paginates incorrectly creates real downstream problems for ADs and producers.
In professional production, scripts are also distributed as sides — excerpts of specific pages for the day's shoot, printed and handed to cast and crew. Sides reference page numbers directly. If your page breaks don't match the locked script, the sides are wrong.
Once a script goes into production, pages are locked. This means page numbers never
change even when content is revised. If a revision makes a page run long, an A page
is inserted (p. 23, 23A, 23B, 24). If a page is cut, it is marked OMITTED rather
than removed, so numbering stays intact.
Fountain does not natively manage locked pages — this is handled by export tools like Highland 2 or Final Draft after import.
Fountain has an explicit manual page break: a line containing only ===.
INT. OFFICE - DAY CAROL I've been waiting for this moment. === INT. HALLWAY - CONTINUOUS She steps out and the door clicks shut.
Most Fountain apps render this as a hard page break in PDF export. It is the mechanism you would use in a custom display tool to force breaks at known points.
When building a custom Markdown-to-screenplay renderer, these are the pagination rules standard tools follow:
(MORE) at the bottom and (CONT'D) at the top of the next pageIn production, script revisions are printed on colored paper so everyone on set can immediately see what changed. The standard WGA color order is:
| Revision | Color |
|---|---|
| Original | White |
| 1st revision | Blue |
| 2nd revision | Pink |
| 3rd revision | Yellow |
| 4th revision | Green |
| 5th revision | Goldenrod |
| 6th revision | Buff |
| 7th revision | Salmon |
| 8th revision | Cherry |
| 9th revision | Tan |
| 10th revision | White (2nd cycle) |
Changed lines within a revision are marked with an asterisk * in the right margin.
In plain-text workflows, revision tracking is typically handled at the export stage by
Highland 2 or Final Draft rather than in the source file itself.
If you are building a custom tool to display Markdown or Fountain as a formatted screenplay, these are the edge cases to handle:
Some people want screenplay structure that feels closer to Markdown. That can be done with custom conventions, but it is not a universal standard.
Possible custom element mapping:
The example below uses a neutral pseudo-syntax rather than literal DokuWiki heading markup (which would conflict with the wiki page structure):
# INT. KITCHEN - DAY A quiet kitchen. Sunlight comes through the window. ## JORDAN I thought you were leaving at noon. > (quietly) I was. Then I changed my mind. ---
This is not a formal screenplay standard. The advantage over raw Fountain is that Markdown is already understood by many more tools — static site generators, Obsidian, Logseq, Pandoc — so a custom mapping can plug into a wider ecosystem.
| Approach | Strengths | Weaknesses |
|---|---|---|
| Fountain plain text | Simple, portable, open spec | Needs compatible export tool or parser |
| Markdown-like custom format | Flexible, plugs into broad ecosystem | Not standardized, you maintain the rules |
| Dedicated screenplay app | Good previews, proper pagination | Tied to one tool, file format risk |
| Custom wiki workflow | Great for reference and drafting | Pagination and export require extra work |
| Fountain in version control | Full history, diff-able, collaborative | Merge conflicts in dialogue are awkward |
.fountain text. Good for mobile drafting..fountain files alongside your notes. Useful for wiki-style screenplay development.| Element | Fountain Syntax | Notes |
|---|---|---|
| Scene heading | INT. PLACE - TIME | Auto-detected from INT/EXT/EST |
| Forced scene heading | .ANY LINE | Leading period forces it |
| Action | Plain paragraph | Default for unrecognized lines |
| Forced action | !LINE | Overrides auto-detection |
| Character | ALL CAPS line before dialogue | Blank line before, not after |
| Forced character | @name | Allows lowercase in character names |
| Dialogue | Line after character name | No blank line between name and text |
| Parenthetical | (text) between name and dialogue | Keep brief |
| Voice over | CHARACTER (V.O.) | On same line as character name |
| Off screen | CHARACTER (O.S.) | On same line as character name |
| Transition | Line ending in TO: | Auto-detected |
| Forced transition | >LINE | Right-aligned in output |
| Lyrics | ~LINE | Rendered in italics |
| Dual dialogue | CHARACTER ^ | Second speaker gets the caret |
| Page break | === | Hard page break in output |
| Section | # Title / ## Title | Outline only, invisible in output |
| Synopsis | = Text | Outline only, invisible in output |
| Boneyard | /* text */ | Completely excluded from output |
| Bold | **text** | Standard |
| Italic | *text* | Standard |
| Underline | _text_ | Not italic — underline in screenplay |
| Bold italic | ***text*** | Combined |
| Note | text | Visible in editor, excluded from output |
Title: The Long Way Home Author: Jordan Ellis Draft date: January 2025 # Act One = Elena is running late. Everything is going wrong. INT. APARTMENT - MORNING The coffee machine sputters. Then silence. ELENA (staring at it) That is not a good sound. She taps the side of the machine twice. Nothing. ELENA Please work. /* TODO: Consider adding a beat here where she checks her phone. Director mentioned wanting a reaction shot opportunity. */ CUT TO: EXT. BUILDING ENTRANCE - MORNING Elena steps outside, carrying the empty mug out of habit. ELENA (V.O.) I should have seen it as a sign. === INT. OFFICE - DAY The open-plan floor is already loud. Elena finds her desk. COLLEAGUE (O.S.) Late again? ELENA ~Just five minutes, just five minutes... She sits down and opens her laptop.
If you build your own system on top of Fountain or a custom Markdown mapping, define these rules explicitly and keep them in a separate reference page:
INTERCUT WITH: for phone conversationsKeep the rules short and consistent so the format stays usable across time.
This page is a reference for writing and organizing screenplay ideas in plain text. The pagination and revision sections are especially relevant if building a custom display or export tool that needs to match professional production standards.
For subtitle output from the same project, see Subtitle Technical Spec.