Unable to set up Marked for Fountain support
Hello,
I've been trying to configure Marked to support text files written in the Fountain (Markdown variant for screenwriting) format, using the instructions on the Candler blog:
http://www.candlerblog.com/2012/02/08/fountain-for-marked/
One of the first steps mentioned is to add a downloaded support file to the ~/Library/Application Support/Marked folder, but I see no such file in Application Support. I'm running Lion, and downloaded Marked from the App Store. Would the support files be stored in another location, or with a different folder name?
More broadly, is there a better way to add Fountain support to Marked?
Thanks in advance,
Andre Kibbe
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 17 Jun, 2012 06:53 PM
Well, that folder should definitely be there, and I don't have anywhere else to tell you to look. You've run Marked, right? It should be created after the first run.
However, it doesn't matter where you put the folder, as long as you modify the paths in the instructions accordingly when setting things up. You can also create the Marked folder in ~/Library/Application Support and go from there. Let me know if you have any other trouble after that.
2 Posted by Andre Kibbe on 17 Jun, 2012 07:51 PM
I've run Marked numerous times to preview Markdown files. I just tried
deleting the app and reinstalling it from the App Store, but aside from the
main application icon, I can't find a reference to a Marked folder anywhere
using Finder or Spotlight.
Would the Marked icon in the Applications folder have the same package
contents that would be in the Application Support folder? I tried creating
a Marked folder, but the instructions called to set the Style preferences
in the app by navigating to a Custom CSS file that's supposed to be in the
folder.
Support Staff 3 Posted by Brett on 17 Jun, 2012 08:51 PM
No, not at all. The folder in the "Application Support" folder is probably not visible from Finder because Lion hid the Library folder entirely. I suggest you just put the fountain folder somewhere else, maybe in your Documents folder, and then just adjust the instructions accordingly. Where it says "~/Library/Application Support/Marked", you'd just use "~/Documents/" instead. Also, the custom CSS file is in the Fountain download, not in the Marked folder.
4 Posted by Andre Kibbe on 22 Jun, 2012 04:53 AM
Hi Brett,
So I sort of got Fountain support working, but I think there's a problem
with the stylesheet. Aside from the Courier typeface, Marked is basically
rendering the sample Fountain script just like plain text. Character
headings and dialogue is left-justified, just like slug lines and action
descriptions.
Just to recap what I've done so far:
1. I realized that I was looking for the Marked folder in the wrong
Application Support folder—i.e. under Macintosh HD/Library rather than
~/Users/[username]/Library
2. I unhid ~/Libary in Terminal with a "chflags nohidden" command
3. I added screenplain-marked to the Marked folder
4. I added Fountain.css to the ~/Marked/Custom CSS folder
5. I added and activated the path for the custom Markdown Processor in
the Behavior settings [absolute path to]/screenplain-marked.sh
6. Added Fountain.css to style selector in Marked's Style settings
7. Opened a sample Fountain file in Marked, switching to the Fountain
stylesheet, but there was no material change other than Courier
The file I tried to preview (a 2k file I've attached if you're interested)
was one I tested weeks ago with a couple of apps that have Fountain support
baked in: Writing Kit on the iPad and Movie Draft on OS X.
Any suggestions? Did I miss anything?
Thanks,
Support Staff 5 Posted by Brett on 22 Jun, 2012 12:33 PM
It sounds like your Custom Processor isn't actually being recognized by Marked. Screenplain inserts classes that Marked needs to handle the formatting, and it seems like those aren't showing up. If Marked can't find the processor you specify, it falls back to its own, so that makes the most sense. What is the path you have in the custom processor field? The easiest way to get the correct path is to clear the field in Marked, find the screenplain executable in Finder and drag the file to the field. It should insert the exact path at that point.
6 Posted by Andre Kibbe on 23 Jun, 2012 02:20 AM
Hi Brett,
Dragging the file from Finder into the Custom Processor field did the
trick. Even though I can't see (or at least remember) any difference
between the current absolute path shown and the one it replaced, I had to
have missed something.
I'd highly recommend baking in the script and stylesheet into future
versions of Marked. Most screenwriters aren't technical enough to configure
Fountain support by hand. But I'm glad you've made this solution available.
Now I can do all my screenwriting in Byword. Thanks again!
Andre
Support Staff 7 Posted by Brett on 23 Jun, 2012 03:09 AM
It's planned. I'm actually playing with a more optimized renderer,
just have to work out some bugs. Hopefully it will be ready for 1.5.
- Brett