|
| 1 | +--- |
| 2 | +title: 🙋♂️ Opting Out to Markdown |
| 3 | +sidebar: |
| 4 | + order: 3 |
| 5 | +--- |
| 6 | + |
| 7 | +When a file is marked for Fountain formatting, the whole file is treated as Fountain, by default. For those who like to annotate in their screenplay, there are a variety of escape-hatch methods to do so. |
| 8 | + |
| 9 | +## Fountain Synopsis |
| 10 | + |
| 11 | +Fountain's [Synopses](https://fountain.io/syntax/#sections-and-synopses) is treated by the processor as a valid line of Fountain, but it does not receiving any additional styling (notably, the custom screenplay font isn't applied). |
| 12 | + |
| 13 | +```md title="Synopsis.fountain.md" |
| 14 | += Any line that starts with a `=` symbol is treated as a **Fountain Synopsis**. |
| 15 | +``` |
| 16 | + |
| 17 | +Technically, it still applies the `cm-fountain-synopsis` class name, but Fountain Synopsis and Headings are excluded from additional Fountain styling. |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +- Pros: |
| 22 | + - Valid Fountain syntax, so you don't need any pre-processing to strip it out or whatever. |
| 23 | +- Cons: |
| 24 | + - Only applied per-line, it gets tiring to type out the `=` prefix on every line. Besides, I don't think multi-line synopsis is the intended use-case for Fountain. |
| 25 | + - Not supported by Obsidian |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +## Obsidian/Markdown Blockquote (recommended) |
| 30 | + |
| 31 | +Obsidian's [Block/quotes](https://help.obsidian.md/syntax#Quotes) syntax conflicts with Fountain's Forced [Transition](https://fountain.io/syntax/#transition) syntax -- read details at [Syntax Conflicts](/resources/syntax-conflicts/). |
| 32 | + |
| 33 | +However, [if you know how to strip out all the blockquotes before rendering your PDF](/resources/longform), and by [enabling an optional setting](️/references/settings/#-prefer-obsidians-blockquote-over-fountains-forced-transition), you can use liberally blockquotes everywhere! |
| 34 | + |
| 35 | +```md title="Blockquote.fountain.md" |
| 36 | +> Usually, this is Fountain's forced Transition. |
| 37 | + |
| 38 | +> But if there is a non-empty line before or after... |
| 39 | +> Then it is treated like a regular Obsidian-markdown blockquote! |
| 40 | + |
| 41 | +> But you can opt-out entirely with the setting: "Prefer Obsidian's blockquote over Fountain's forced Transition" |
| 42 | + |
| 43 | +> [!important] |
| 44 | +> You can even use callouts! |
| 45 | +``` |
| 46 | + |
| 47 | +This is the plugin author's recommended way to annotate screenplays with markdown. |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | +- Pros |
| 52 | + - Natively supported by Obsidian |
| 53 | + - Can be converted into Obsidian Callouts! |
| 54 | + - No rendering issues, CLEAN! |
| 55 | + - Spans across multiple lines |
| 56 | +- Cons |
| 57 | + - Requires a step of processing to strip out blockquotes before PDF render |
| 58 | + - Requires an indented `>` prefix, not flush with document body. However... |
| 59 | + - Some people sees this clearly defined annotation area, as a win |
| 60 | + - Native Obsidian support provides that auto-formatting and commands |
| 61 | + |
| 62 | +--- |
| 63 | + |
| 64 | +## Obsidian Comments |
| 65 | + |
| 66 | +Text enclosed within `%% Obsidian comment symbols %%` don't receive Fountain formatting, so they look just like regular markdown! |
| 67 | + |
| 68 | +This is no longer the recommended way to annotate screenplay, since we found [an issue](https://github.com/chuangcaleb/obsidian-fountain-editor/pull/58) where a large comment area would break the plugin's Fountain formatting. It is still however a usable way to opt-out into markdown. |
| 69 | + |
| 70 | +```md title="Obsidian Comments.fountain.md" |
| 71 | +%% |
| 72 | +Text inside here will be regular markdown! |
| 73 | +%% |
| 74 | + |
| 75 | +``` |
| 76 | + |
| 77 | +- Pros |
| 78 | + - Natively supported in Obsidian! |
| 79 | + - Annotations in main body, without additional indentation or markup. Makes it super simple to add new lines. |
| 80 | + - Spans across multiple liness |
| 81 | +- Cons |
| 82 | + - Aforementioned issue where large comment blocks causes the plugin's formatting to go whack |
0 commit comments