File Transclusion, Sandboxing, and relative paths

When I include a file from another directory using the {{ }} syntax, it works fine if I include the full path to the file (i.e.Composer asks for permission to open the file and successfully includes it). If the file is referenced with a relative path, however, it doesn't ask for permission and doesn't include the file.

For now, I can work around this by replacing the relative path with a full path, giving permission to access the file, and then replacing the full path with the relative path again. As long as it has permission, the relative path works, it just never asks for permission.

Thanks,
Rob

  1. Sorry, forgot to mention I'm use Multimarkdown Composer 4.0 Beta (44).

  2. Can you send an example? Relative paths work fine for me.

  3. You're right, when I create a simple test case it works OK as well.

    Attached is a zip file containing the files I am using. It fails to read {{../Minutes%20Header.md}} referenced from the file XXX Draft Minutes.mmd. FWIW, the root folder has a ~ in the name, but it fails for me even without that.

    Thanks,
    Rob

    • _2017-18_HTML_Template.zip (available to support staff) 12.3 KB
  4. Is the file really named "foo%20bar"? Or is it "foo bar"?

    Sent from my iPhone

  5. It's "foo bar". I usually drag and drop files to include them and the paths are automatically URL encoded, so I leave them that way.

  6. Drag and drop assumes images (which require URLs), since that is much
    more common than transclusion.

    Transclusion requires file names, since it is not part of HTML that
    requires URL encoding.

  7. Fletcher closed this discussion on 13 Sep, 2017 01:53 PM.

Comments are currently closed for this discussion. You can start a new one.

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

Recent Discussions