A lightweight screenplay theme for Typora, following industry-standard format with automatic formatting and corrected scene numbering.
screenplay.css file to your Typora theme library:
%APPDATA%\Typora\themes~/Library/Application Support/abnerworks.Typora/themes~/.config/Typora/themes
Create scene headings using a single #. They will automatically:
Markdown
# INT. COFFEE SHOP - NIGHT
Known Limitation: Scene numbers only appear after you type at least one character into the heading. This is a limitation of how CSS counters work - they require actual text content to display. The scene number will appear as soon as you begin typing your scene heading.
Write action descriptions as regular paragraphs (no markdown formatting needed). Action lines are left-aligned and describe what happens on screen.
Markdown
Cold rainy night; shop is dark, save for a light at a single table. JOHN RICK bursts into the shop, breaking down the doors, pistol in his hand.
Use ## for character names. They will automatically:
Markdown
## JOHN
Use ### for dialogue lines immediately after a character name. Dialogue will:
Markdown
### Give me back my dog and car! You fools!
Use #### for parentheticals (actor directions within dialogue). They will automatically:
Markdown
#### shouting
Use ##### for transitions (CUT TO, FADE OUT, etc.). They will automatically:
Markdown
##### CUT TO:
Use blockquotes (>) to create title page elements. They will automatically:
Markdown
> **SCREENPLAY TITLE**
>
> Written by
>
> Your Name

Use --- to force a page break when needed.
Markdown
---
Created by Pranav Nair
v2.0 of the Screenplay Theme.
Designed and tested on macOS. Not fully tested, but should work for Windows/Linux.
Note: README and comments were enhanced using AI assistance.