• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

John August

  • Arlo Finch
  • Scriptnotes
  • Library
  • Store
  • About

Scrippets are go

August 28, 2008 News, Scrippets

Thanks to the hard work of Nima Yousefi, Will Carlough and Andy Maloney, we have a Scrippets plugin that seems to be working pretty reliably. It’s installed at this site now, and we’ll be seeding it out to a few other screenwriting-oriented websites over the next few days to make sure it plays well with others.

Like most programming projects, getting to 90% was easy. Within hours after my original call to coders, there were three plugins that could get the job done.

That last 10% was tricky, however, because it meant looking for situations that would fail: different WordPress themes, competing plugins, and unexpected user input. For example, my original Ruby code couldn’t distinguish between an all-caps slugline and a character name, and the way I was doing it, it would have been very hard to add that capability.1

In terms of plugins, Markdown is the devil. Rarely have I loved and loathed something so thoroughly. Almost any time you’d see a scrippet break in the middle, it was because of Markdown.

While I think the plug-in is working well, I suspect there will be a few more iterations before we let it out into the wild. So test it out in the comments. As a reminder, the syntax is…

[scrippet]
EXT. HOUSE – DAY

Max is checking his mail when he spots neighbor FRANK crossing the street, heading his way.

Shaking his head…

MAX
I thought we talked about this, Frank.

FRANK
(drunk)
I was born naked and I’m not changing now.
[/scrippet]

which becomes…

EXT. HOUSE – DAY

Max is checking his mail when he spots neighbor FRANK crossing the street, heading his way.

Shaking his head...

MAX

I thought we talked about this, Frank.

FRANK

(drunk)

I was born naked and I’m not changing now.

  1. The final plugin by Nima Yousefi uses regular expressions. ↩

Related Posts

  1. Scrippets available for testing
  2. Scrippets, a call to coders
  3. Dialogue versus exposition

Primary Sidebar

Newsletter

Inneresting Logo A Quote-Unquote Newsletter about Writing
Read Now

Explore

Projects

  • Aladdin (1)
  • Arlo Finch (27)
  • Big Fish (87)
  • Charlie (39)
  • Charlie's Angels (16)
  • Chosen (2)
  • Corpse Bride (9)
  • Dead Projects (18)
  • Frankenweenie (10)
  • Go (30)
  • Karateka (4)
  • Monsterpocalypse (3)
  • One Hit Kill (6)
  • Ops (6)
  • Preacher (2)
  • Prince of Persia (13)
  • Shazam (6)
  • Snake People (6)
  • Tarzan (5)
  • The Nines (118)
  • The Remnants (12)
  • The Variant (22)

Apps

  • Bronson (14)
  • FDX Reader (11)
  • Fountain (32)
  • Highland (72)
  • Less IMDb (4)
  • Weekend Read (34)

Recommended Reading

  • First Person (87)
  • Geek Alert (147)
  • WGA (139)
  • Workspace (19)

Screenwriting Q&A

  • Adaptation (66)
  • Directors (90)
  • Education (49)
  • Film Industry (487)
  • Formatting (129)
  • Genres (90)
  • Glossary (6)
  • Pitches (29)
  • Producers (59)
  • Psych 101 (117)
  • Rights and Copyright (96)
  • So-Called Experts (47)
  • Story and Plot (170)
  • Television (164)
  • Treatments (21)
  • Words on the page (238)
  • Writing Process (178)

More screenwriting Q&A at screenwriting.io

© 2023 John August — All Rights Reserved.