Markdown and <$include> Tag

User avatar
Posts: 24272
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza

Wed Nov 22, 2017 8:06 pm Post

To clarify, I am thinking in terms of that MMD->HTML compile format. Again with that, it doesn’t matter how the text ends up as Markdown syntax with those formats. Scrivener passes along the whole compiled .txt file to the MultiMarkdown engine intact, and then it is responsible for making HTML out of it. So it doesn’t matter if your text comes from a .txt file, or from inside of a synopsis card, or a a custom meta-data field—it’s all valid formatted text because all you need to make valid formatted Markdown text is punctuation marks. No conversion necessary.

The linked method only works for binder items.

On the example you tried, I’m not sure why that isn’t working for you. I’ve tested both relative and absolute paths to files and both include fine. The only thing that doesn’t work is the UNIX ~ shorthand.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

User avatar
Posts: 390
Joined: Wed Nov 22, 2017 2:24 pm
Platform: Mac

Wed Nov 22, 2017 8:19 pm Post

AmberV wrote:To clarify, I am thinking in terms of that MMD->HTML compile format.

I'm back on the same page. Gracias, Ioa,

I have now got it to work with both:



Don't know what I was doing wrong before.

The feature is brilliant.