Custom Scripts for Writers: Longform Compiler & Fountain Screenplay Renderer #9494
ricolandia
started this conversation in
Show and tell
Replies: 2 comments
-
|
Hi folks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
New feature for the film script tool (Fountain format and exporter)
The zip( Plugin ): How it works:
Screenshot
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
Recently, I started a discussion about ways to stitch atomic notes together into a single "Longform" document. Thanks to a helpful nudge from @eliandoran about Trilium's scripting capabilities, I decided to dive in and build a solution.
With some help from Claude( everything... I am not a coder), I managed to create( not me.. it, the thing.. ) two fully functional workflows that completely solved my use case for writing longform articles and screenplays directly within Trilium. I wanted to share them here in case they are useful for other writers in the community!
Here is what It created:
1. Longform Compiler (Grid View)
This script helps you visually organize and compile smaller notes into one master document.
How it works: It generates a visual grid of child notes. You can drag and drop them to reorder the sequence.
Compilation: There is a button at the top that automatically generates a single, newly consolidated note based on that exact visual arrangement.
The Code:
Pannel_reorder_notes.zip
2. Fountain Screenplay Renderer
For those who write audiovisual scripts, this workflow renders your notes using the standard Fountain format.
How it works: It displays your note text beautifully formatted as a standard screenplay.
Export: It includes a dedicated button to export and save the file directly as a .fountain file.
The Code:
Fountain_code.zip
The Setup Workflow (For Both)
The setup for these tools is quite simple and uses Trilium's parent/child structure:
Create a "Render Note" and set it as the parent.
Add the Script itself as a child note (which is pulled by the parent).
Organize your actual Content Notes as children under the Render Note.
I hope these are helpful for anyone trying to bridge the gap between Knowledge Management and Content Creation inside Trilium.
Beta Was this translation helpful? Give feedback.
All reactions