screenplays_in_markdown
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| screenplays_in_markdown [2026/04/25 18:41] – created smickster | screenplays_in_markdown [2026/04/25 19:17] (current) – [Notes] smickster | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Screenplay Reference: Fountain and Markdown-Style Workflow ====== | ====== 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. | + | 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**: [[subtitles_in_markdown|Subtitle Technical Spec: Markdown-Like Parser Reference]] | ||
| ===== Overview ===== | ===== Overview ===== | ||
| - | Fountain is a plain-text screenplay format. | + | Fountain is a plain-text screenplay format |
| - | It is designed so you can write a script in any text editor and later convert it into properly formatted screenplay output. | + | It is designed so you can write a script in any text editor and later convert it into |
| + | properly formatted screenplay output | ||
| - | A markdown-style screenplay workflow is similar in spirit, but usually depends on custom rules, plugins, or styling choices rather than a universal standard. | + | 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. | ||
| - | ===== Why use plain text? ===== | + | The format was created by screenwriter John August and Stu Maschwitz. The full open |
| + | specification lives at [[https:// | ||
| + | |||
| + | ===== Why Use Plain Text? ===== | ||
| Plain text writing is useful because it is: | Plain text writing is useful because it is: | ||
| - | * Portable. | + | * Portable |
| - | * Easy to edit in any text editor. | + | * Easy to edit in any text editor |
| - | * Friendly to version control. | + | * Friendly to version control |
| - | * Easy to automate or convert later. | + | * Easy to automate or convert later |
| - | * Less dependent on one specific app. | + | * Less dependent on one specific app |
| + | * Archival-safe — no risk of file format obsolescence | ||
| - | ===== Core screenplay elements | + | ===== Core Screenplay Elements |
| A screenplay usually includes these main parts: | A screenplay usually includes these main parts: | ||
| - | * Title page. | + | * Title page |
| - | * Scene headings. | + | * Scene headings |
| - | * Action lines. | + | * Action lines |
| - | * Character names. | + | * Character names |
| - | * Dialogue. | + | * Dialogue |
| - | * Parentheticals. | + | * Parentheticals |
| - | * Transitions. | + | * Transitions |
| - | * Optional notes or annotations. | + | * Lyrics (optional) |
| + | * Notes and annotations | ||
| + | |||
| + | ===== Fountain Syntax Reference ===== | ||
| + | |||
| + | This section covers actual Fountain syntax rules, including the parts that trip people up. | ||
| - | ===== Fountain-style examples ===== | + | ==== Title Page ==== |
| - | Below is a simple example showing the main screenplay parts in Fountain-like plain text. | + | 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 | Title: Sample Script | ||
| + | Credit: Written by | ||
| + | Author: Jordan Ellis | ||
| + | Draft date: January 2025 | ||
| + | Contact: jordan@example.com | ||
| INT. KITCHEN - DAY | INT. KITCHEN - DAY | ||
| + | </ | ||
| - | A quiet kitchen. Sunlight comes through | + | Standard keys: '' |
| + | Custom keys are allowed and passed | ||
| - | JORDAN | + | ==== Scene Headings ==== |
| - | I thought you were leaving at noon. | + | |
| - | MAYA | + | A scene heading tells us where and when the scene happens. Fountain auto-detects lines |
| - | I was. Then I changed my mind. | + | beginning with '' |
| - | (Jordan sets down the cup.) | + | < |
| + | INT. OFFICE - NIGHT | ||
| + | EXT. ROOFTOP - CONTINUOUS | ||
| + | INT./EXT. CAR - DAY | ||
| + | </ | ||
| - | CUT TO: | + | To **force** a line to be treated as a scene heading regardless of content, prefix it with '' |
| - | EXT. STREET - DAY | + | < |
| - | + | .LATER THAT NIGHT | |
| - | Cars pass by as they walk toward the corner. | + | |
| </ | </ | ||
| - | ===== What the parts mean ===== | + | Common |
| + | DAY, NIGHT, CONTINUOUS, LATER, MOMENTS LATER, DAWN, DUSK. | ||
| - | ==== Title page ==== | + | ==== Action Lines ==== |
| - | The title page identifies the script. | + | Action lines describe what is happening visually. Any paragraph that is not identified as |
| - | In a plain-text workflow, this may be handled by the file name, a metadata block, or a separate front matter section. | + | another element defaults to action. |
| - | ==== Scene heading ==== | + | < |
| + | The door opens slowly. Dust falls from the frame. | ||
| - | A scene heading tells us where and when the scene happens. | + | A single light bulb swings overhead. |
| + | </ | ||
| - | Example: | + | To **force** a line to action (overriding any auto-detection), |
| < | < | ||
| - | INT. OFFICE - NIGHT | + | !SOMEHOW THIS LINE WOULD BE MISREAD — force it to action with ! |
| </ | </ | ||
| - | Common parts: | + | Keep action lines clear, present tense, and visual. Avoid unfilmable internal states. |
| - | * INT. or EXT. | + | ==== Character Names ==== |
| - | * Location. | + | |
| - | * Time of day. | + | |
| - | ==== Action | + | 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. | ||
| - | Action lines describe what is happening visually. | + | < |
| + | ALEX | ||
| + | We should leave now. | ||
| + | </ | ||
| - | Example: | + | To force a character name that contains lowercase (e.g. a stylized name), prefix with '' |
| < | < | ||
| - | The door opens slowly. | + | @McCLANE |
| + | Yippee-ki-yay. | ||
| </ | </ | ||
| - | Keep action lines clear and present tense. | + | A character extension goes in parentheses on the same line: |
| - | ==== Character name ==== | + | < |
| + | ALEX (V.O.) | ||
| + | I never told her the truth. | ||
| - | The character name appears before dialogue. | + | MAYA (O.S.) |
| + | Alex? Are you in there? | ||
| + | </ | ||
| - | Example: | + | Common extensions: '' |
| + | |||
| + | ==== Dialogue ==== | ||
| + | |||
| + | Dialogue is the text immediately following a character name, with no blank line between them. | ||
| < | < | ||
| ALEX | ALEX | ||
| + | We should leave now. I mean it this time. | ||
| </ | </ | ||
| - | Usually this is centered or visually separated in screenplay output, even though in plain text it is just a line of text. | + | ==== Parentheticals |
| - | + | ||
| - | ==== Dialogue | + | |
| - | + | ||
| - | Dialogue is the spoken text under the character name. | + | |
| - | Example: | + | Parentheticals give a small direction about delivery. They sit between the character name |
| + | and the dialogue, or within dialogue. | ||
| < | < | ||
| ALEX | ALEX | ||
| + | (quietly, almost to herself) | ||
| We should leave now. | We should leave now. | ||
| </ | </ | ||
| - | In many plain-text formats, the structure | + | Use parentheticals sparingly. Overuse |
| - | ==== Parenthetical | + | ==== Transitions |
| - | Parentheticals give a small direction about how the line is delivered. | + | Transitions are right-aligned in formatted output. Fountain auto-detects lines ending |
| + | with '' | ||
| - | Example: | + | < |
| + | CUT TO: | ||
| + | DISSOLVE TO: | ||
| + | FADE OUT. | ||
| + | SMASH CUT TO: | ||
| + | </ | ||
| + | |||
| + | To force any line to a transition, prefix with ''>'' | ||
| < | < | ||
| - | ALEX | + | > TITLE CARD: "Three years later." |
| - | (quietly) | + | |
| - | We should leave now. | + | |
| </ | </ | ||
| - | Use parentheticals sparingly. | + | ==== Lyrics ==== |
| - | ==== Transition ==== | + | Lines prefixed with '' |
| - | Transitions indicate how one scene leads to the next. | + | < |
| + | ~Happy birthday | ||
| + | ~Happy birthday to you | ||
| + | </ | ||
| - | Example: | + | ==== Dual Dialogue (Simultaneous Speech) ==== |
| + | |||
| + | Two characters speaking simultaneously are placed side by side in formatted output. | ||
| + | Mark the second character block with a '' | ||
| < | < | ||
| - | CUT TO: | + | JORDAN |
| - | FADE OUT. | + | I can explain— |
| + | |||
| + | MAYA ^ | ||
| + | Don't. | ||
| </ | </ | ||
| - | They are usually used deliberately and not on every scene. | + | ==== The Boneyard (Hidden Text) ==== |
| - | ===== Markdown-like | + | Any text wrapped in '' |
| + | 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 ''#'' | ||
| + | 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 '' | ||
| + | |||
| + | < | ||
| + | = 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**, | ||
| + | |||
| + | < | ||
| + | *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 '' | ||
| + | is inserted (p. 23, 23A, 23B, 24). If a page is cut, it is marked '' | ||
| + | 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/ | ||
| + | * 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 '' | ||
| + | |||
| + | ==== 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 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/ | ||
| + | * **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. | Some people want screenplay structure that feels closer to Markdown. | ||
| - | That can be done with custom conventions, | + | That can be done with custom conventions, |
| - | Possible custom mapping: | + | Possible custom |
| - | * Heading level 1 = scene heading. | + | * Heading level 1 = scene heading |
| - | * Heading level 2 = character name. | + | * Heading level 2 = character name |
| - | * Regular paragraph = dialogue. | + | * Regular paragraph = dialogue |
| - | * Blockquote | + | * Blockquote = parenthetical |
| - | * Emphasis = notes or special cues. | + | * Horizontal rule = page break |
| + | * Emphasis = notes or special cues | ||
| - | Example concept: | + | 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. | A quiet kitchen. Sunlight comes through the window. | ||
| - | == JORDAN | + | ## JORDAN |
| I thought you were leaving at noon. | I thought you were leaving at noon. | ||
| - | < | + | > (quietly) |
| - | (quietly) | + | |
| - | </ | + | |
| I was. Then I changed my mind. | I was. Then I changed my mind. | ||
| + | |||
| + | --- | ||
| </ | </ | ||
| - | This is not a formal screenplay standard, | + | 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 | ||
| - | ===== Workflow | + | ===== Workflow |
| - | You can use several different workflows: | + | ^ 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, | ||
| + | | 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 | | ||
| - | * Plain text only, with manual formatting later. | + | ===== Tool Ecosystem ===== |
| - | * Fountain syntax plus an export tool. | + | |
| - | * Markdown-inspired notes with your own conversion rules. | + | |
| - | * A custom parser that turns your text into screenplay format. | + | |
| - | * A wiki page used as a planning reference before moving to final script software. | + | |
| - | ===== Practical pros and cons ===== | + | ==== Desktop |
| - | + | ||
| - | ^ Approach ^ Strengths ^ Weaknesses ^ | + | |
| - | | Fountain plain text | Simple, portable, well-known | Needs compatible export or parser | | + | |
| - | | Markdown-like custom format | Flexible, easy to adapt | Not standardized | | + | |
| - | | Dedicated screenplay app | Good previews and exports | More tied to one tool | | + | |
| - | | Custom wiki workflow | Great for reference and drafting | Requires you to define the rules | | + | |
| - | ===== Example reference page structure ===== | + | * [[https:// |
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| - | You can organize your own notes like this: | + | ==== Text Editor Integrations ==== |
| - | * Syntax summary. | + | * [[https:// |
| - | * Writing rules. | + | * [[https:// |
| - | * Example | + | * [[https:// |
| - | * Special cases. | + | * [[https:// |
| - | * Conversion | + | |
| - | * Export instructions. | + | |
| - | * Personal conventions. | + | |
| - | ===== Personal conventions ===== | + | ==== Conversion and Export |
| - | If you build your own system, it helps to define rules such as: | + | * [[https:// |
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * Pandoc — Can be coaxed into handling custom Markdown screenplay mappings with a custom Lua filter, though this requires some setup. | ||
| - | * How to mark scene headings. | + | ==== Reference and Specification ==== |
| - | * How to mark dialogue. | + | |
| - | * How to handle emphasis. | + | |
| - | * How to note camera directions. | + | |
| - | * How to represent transitions. | + | |
| - | * Whether to include metadata in the page. | + | |
| - | Keep the rules short and consistent so the format stays usable. | + | * [[https:// |
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| - | ===== Quick cheat sheet ===== | + | ===== Full Syntax |
| - | * Fountain | + | ^ Element ^ Fountain |
| - | * Any text editor can be used. | + | | Scene heading | '' |
| - | * Dedicated screenplay apps are optional. | + | | Forced scene heading | '' |
| - | * Markdown-like screenplay formatting is possible, but usually custom. | + | | Action | Plain paragraph | Default for unrecognized lines | |
| - | * A parser or export step is what turns the text into final screenplay | + | | Forced action | '' |
| + | | Character | '' | ||
| + | | Forced character | '' | ||
| + | | Dialogue | Line after character name | No blank line between name and text | | ||
| + | | Parenthetical | '' | ||
| + | | Voice over | '' | ||
| + | | Off screen | '' | ||
| + | | Transition | Line ending in '' | ||
| + | | Forced transition | ''> | ||
| + | | Lyrics | '' | ||
| + | | Dual dialogue | '' | ||
| + | | Page break | '' | ||
| + | | Section | ''# | ||
| + | | Synopsis | '' | ||
| + | | Boneyard | '' | ||
| + | | Bold | '' | ||
| + | | Italic | '' | ||
| + | | Underline | '' | ||
| + | | Bold italic | '' | ||
| + | | Note | '' | ||
| - | ===== Example | + | ===== 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 | INT. APARTMENT - MORNING | ||
| - | The coffee machine sputters | + | The coffee machine sputters. Then silence. |
| ELENA | ELENA | ||
| + | (staring at it) | ||
| That is not a good sound. | That is not a good sound. | ||
| - | She taps the side of the machine. | + | She taps the side of the machine |
| ELENA | ELENA | ||
| Please work. | Please work. | ||
| + | |||
| + | /* | ||
| + | TODO: Consider adding a beat here where she checks her phone. | ||
| + | Director mentioned wanting a reaction shot opportunity. | ||
| + | */ | ||
| CUT TO: | CUT TO: | ||
| Line 249: | Line 483: | ||
| EXT. BUILDING ENTRANCE - MORNING | EXT. BUILDING ENTRANCE - MORNING | ||
| - | Elena steps outside, carrying the empty mug. | + | 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 '' | ||
| + | * 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 ===== | ===== Notes ===== | ||
| - | This page is meant as a reference for writing and organizing screenplay ideas in plain text. | + | This page is a reference for writing and organizing screenplay ideas in plain text. |
| - | It can be expanded later with your own syntax rules, | + | The pagination and revision sections are especially relevant if building a custom display |
| + | or export | ||
| + | |||
| + | For subtitle output from the same project, see [[subtitles_in_markdown|Subtitle Technical Spec]]. | ||
screenplays_in_markdown.1777142477.txt.gz · Last modified: by smickster
