User Tools

Site Tools


screenplays_in_markdown

Screenplay Reference: Fountain and Markdown-Style Workflow

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

Overview

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.

Why Use Plain Text?

Plain text writing is useful because it is:

  • Portable — works on any device, any OS, forever
  • Easy to edit in any text editor
  • Friendly to version control (Git, Dropbox history, etc.)
  • Easy to automate or convert later
  • Less dependent on one specific app
  • Archival-safe — no risk of file format obsolescence

Core Screenplay Elements

A screenplay usually includes these main parts:

  • Title page
  • Scene headings
  • Action lines
  • Character names
  • Dialogue
  • Parentheticals
  • Transitions
  • Lyrics (optional)
  • Notes and annotations (kept out of output)

Fountain Syntax Reference

This section covers actual Fountain syntax rules, including the parts that trip people up.

Title Page

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.

Scene Headings

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

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.

Character Names

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

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

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

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."

Lyrics

Lines prefixed with ~ are treated as lyrics — formatted in italics in output.

~Happy birthday to you
~Happy birthday to you

Dual Dialogue (Simultaneous Speech)

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.

The Boneyard (Hidden Text)

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 and Synopses

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.

Emphasis

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_

Pagination and Page Breaks

This is one of the most practically important topics for production use, and the least covered in most plain-text screenwriting documentation.

Why Pagination Matters in Film Production

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.

Locked Pages

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.

Page Break Syntax in Fountain

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.

Automatic Pagination Rules

When building a custom Markdown-to-screenplay renderer, these are the pagination rules standard tools follow:

  • Page size: US Letter (8.5 × 11 inches)
  • Margins: 1.5“ left, 1” right, 1“ top and bottom
  • Font: 12pt Courier or Courier Prime
  • Lines per page: approximately 55–57 lines of text
  • Character name + dialogue never split across pages (widow/orphan protection)
  • A scene heading should never be the last line on a page (it gets pushed to the next)
  • Dialogue that must split across a page gets a (MORE) at the bottom and (CONT'D) at the top of the next page

Revision Color Pages

In 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.

Custom Renderer Pagination Considerations

If you are building a custom tool to display Markdown or Fountain as a formatted screenplay, these are the edge cases to handle:

  • Page number position: Top right corner, starting from page 2. Page 1 has no number.
  • Scene numbers: Optional, appear on both left and right margins of scene headings in production drafts. Not present in spec scripts.
  • MORE/CONT'D injection: Must be inserted dynamically at render time based on where dialogue falls relative to page breaks — it cannot be in the source file.
  • Title page is always page 0: The first page of the script body is page 1.
  • Dual dialogue layout: Requires two-column rendering. Most custom renderers skip this or approximate it.

Markdown-Like Adaptation

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:

  • Heading level 1 = scene heading
  • Heading level 2 = character name
  • Regular paragraph = dialogue or action
  • Blockquote = parenthetical
  • Horizontal rule = page break
  • Emphasis = notes or special cues

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.

Workflow Options

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

Tool Ecosystem

Desktop and Mobile Apps

  • Highland 2 (Mac) — The most polished Fountain editor. Handles pagination, revision tracking, gender analysis, and export to PDF and FDX. The go-to choice for Mac users.
  • Slugline (Mac/iOS) — Lightweight Fountain editor. Keeps files as plain .fountain text. Good for mobile drafting.
  • Final Draft — The industry standard app. Not plain-text native, but can import Fountain via FDX conversion. Required if collaborating with production companies.
  • Celtx — Cloud-based, includes breakdown and scheduling tools alongside the script editor.
  • Fade In Pro — Cross-platform (Mac, Windows, Linux, iOS, Android). Imports Fountain and exports FDX. Solid middle ground.
  • Writer Duet — Cloud-based with real-time collaboration. Good for writing partners.

Text Editor Integrations

  • Better Fountain (VS Code extension) — Live preview, PDF export, scene navigator, and statistics. Free and actively maintained.
  • Fountain Mode (Emacs) — Full Fountain support with syntax highlighting and export.
  • Obsidian — With the Fountain plugin, Obsidian can preview .fountain files alongside your notes. Useful for wiki-style screenplay development.
  • Logseq — Similar to Obsidian; Fountain can be embedded in pages for outlining alongside scene cards.

Conversion and Export

  • fountain.io — The official spec site. Links to parsers in Python, JavaScript, Ruby, and more.
  • Wrap — Command-line Fountain to PDF/HTML converter. Good for automation pipelines.
  • FFmpeg — Not for Fountain directly, but relevant when attaching subtitle output (SRT/WebVTT) to the video file that the script describes.
  • Pandoc — Can be coaxed into handling custom Markdown screenplay mappings with a custom Lua filter, though this requires some setup.

Reference and Specification

Full Syntax Quick Reference

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

Example: Full Scene with Fountain Syntax

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.

Personal Conventions

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:

  • How to mark camera directions (push-in, crane, etc.) — action line or special marker?
  • How to handle scene numbers in draft vs. production modes
  • Whether revision asterisks go in the source or only in export
  • How to represent INTERCUT WITH: for phone conversations
  • How to handle title cards and supers
  • Your boneyard conventions — production notes vs. cut content vs. personal TODOs

Keep the rules short and consistent so the format stays usable across time.

Notes

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.

screenplays_in_markdown.txt · Last modified: by smickster

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki