Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 2.87 KB

conflicts-between-obsidian-flavored-markdown-vs-fountain.md

File metadata and controls

27 lines (16 loc) · 2.87 KB

Conflicts between Obsidian-flavored Markdown vs Fountain

There are two obvious cases of formatting conflict.

Formatting Markdown/Obsidian Fountain
Line begins with > blockquote Centered Text & forced Transition
Inline text wrapped in _ italic Underline (Emphasis)
Inline text wrapped in [[]] Internal Links / Wikilinks Notes

Escape hatch with markdown comments (requires Longform)

Markdown is still syntax-highlighted in Obsidian comments. If you use Longform and use Remove Comments in your workflow, you could inject %% comments %% ANYWHERE since the compiler will strip away markdown comments. This is an easy and flexible solution to escape 95% of markdown formatting in Obsidian-Fountain hybrid notes.

> and _text_

In the first two cases from the table, it is unavoidable in Fountain formatting. We should favor the Fountain formatting over the Markdown formatting. That means, no more italics with underscores, and no more blockquotes (which you shouldn't be using much in Fountain anwyays).

Markdown wikilinks vs Fountain Notes

However, internal links are such a crucial part of Markdown. I've made the decision to prefer internal links over Fountain Notes.

The first major reason is the simple alternative of the escape hatch with markdown comments through longform.

Another reason is a hidden feature: if you have the Remove Wikilinks option in a Longform workflow, then you can use wikilinks DIRECTLY in your Fountain syntax, which I think is really neat.

This does mean, however, when importing Fountain text with Notes into Obsidian, the Notes will format as internal links. You could run a find-and-replace for [[ and ]] instances with %%, but seems clunky and unintuitive and clearly not interoperable anymore. This will need more investigation.