/wtfb-story-harness:export-htmlfrom Words To Film By — Story Harness
Generates an HTML preview of a Fountain screenplay with configurable style options (screen, print, minimal).
Ships in Words To Film By — Story Harness. Installing the plugin adds it to Claude Code.
Generate an HTML preview of the screenplay.
[output] - Optional: Output filename (default: auto-generated)[style] - Optional: screen, print, minimalThe easiest method uses the Better Fountain extension:
.fountain file in VS CodeCtrl+Shift+P (or Cmd+Shift+P on macOS)Extension Link: Better Fountain on VS Code Marketplace
For CI/CD pipelines or scripted exports:
# First-time setup
npm install -g afterwriting
# Export
afterwriting --source screenplay.fountain --html --output output.html
## HTML Export Complete
📄 **File**: [filename].html
📊 **Size**: [X] KB
✅ **Status**: Success
Open in browser to preview.
Optimized for on-screen reading:
Optimized for printing from browser:
Clean, minimal styling:
[Title]_v[Version]_[YYYYMMDD].html
Example:
Seoul_Identity_v1.0_20251227.html
## HTML Export Complete
📄 **File**: Seoul_Identity_v1.0_20251227.html
📊 **Size**: 156 KB
✅ **Status**: Success
### Preview
To view: Open file in web browser
### Features
- Responsive reading layout
- Proper screenplay formatting
- Print-friendly (Ctrl/Cmd + P)
### Notes
- [[Notes]] are hidden in output
- Sections not displayed
- Synopses not displayed
{
"html_use_paper_size": true,
"html_scenes_numbers": "none",
"html_print_dialogue_numbers": false
}
| Error | Cause | Fix |
|---|---|---|
| Export fails | Syntax error | Run /check-format |
| Bad formatting | CSS issue | Check style option |
| Won't open | Browser issue | Try different browser |
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
36 commands in this plugin
/add-note/add-noteAdd a Fountain note (hidden in output) to the screenplay./add-transition/add-transitionInsert a transition element in proper Fountain format./analyze-character/analyze-characterAnalyze a character's arc, appearances, and development./analyze-structure/analyze-structurePerform three-act structure analysis on the screenplay./arc-check/arc-checkTrack and validate character arcs throughout your screenplay./bible/bibleCreate or refresh a Story Bible card and stamp verified_against.Other plugins' commands for the same job