+3
Completed

MultiMarkdown File Transclusion

Dany Gauthier 5 years ago in iPad updated 2 years ago 4

In Textastic manual, I saw that Textastic uses MultiMarkdown library for previewing Markdown.

When looking at the MultiMarkdown syntax guide, there is something called "Transclusion":

https://rawgit.com/fletcher/MultiMarkdown-6-Syntax-Guide/master/index.html


Unfortunately, when I use Textastic for iOS, I am unable to make transclusion work.


I do not know which MultiMarkdown version is used by Textastic, but I do know that feature exists since at least version 4:

http://fletcher.github.io/MultiMarkdown-4/transclusion.html


I would really like file transclusion to work. For example, I would set all my links inside one file, and reference it from my other files. Or, I would put reusable content in some files and reference them from other files. Or I would create one file per chapter and reference all chapters from a main markdown file. etc. etc.


Is file transclusion something that have been tought about? Is it something that can be enabled?

Answer

Answer
Completed

Textastic 9.8.7 now uses MultiMarkdown 6 and supports file transclusion: 


Use {{some_other_file.md}} in a Markdown file to include other Markdown files.

See https://fletcher.github.io/MultiMarkdown-6/syntax/transclusion.html for details.

Under review

Hello, currently, Textastic does not support file transclusion. 


I'll consider adding it in a future update.

Hi. I have been using Textastic for a long time now, for my personal Wikis and it is very fantastic. I really like it. However, I still would be very happy to see that transclusion feature be released. It would so much useful for what I do with Textastic. I would gladly pay for such a feature if the demand is not high enough. Thank you! Keep up the good work!

Answer
Completed

Textastic 9.8.7 now uses MultiMarkdown 6 and supports file transclusion: 


Use {{some_other_file.md}} in a Markdown file to include other Markdown files.

See https://fletcher.github.io/MultiMarkdown-6/syntax/transclusion.html for details.

Thank you so much! This is awesome. Keep up the good work!