Skip to main content

Transclusion of Metadata

Completed

Comments

1 comment

  • Fletcher Penney

    MMD Metadata is at the top of a file.  Transclusion simply makes one big file from smaller files.  So the only metadata that is *actually* metadata is the "wrapper" or "parent" file.  

     

    Metadata included in a transcluded file is removed because it wouldn't make sense for it to appear in the middle of your document, but it isn't used because it is overridden by the "master metadata".

     

    The only exception to this is the `transclude base` metadata which temporarily effects where MMD looks for new files, since files may be located in different folders.

     

    For the use case you describe, I recommend creating a mmd boilerplate that simply goes in all files.  I do this with the MMD user's guide.

     

    https://fletcher.github.io/MultiMarkdown-6/

    0

Please sign in to leave a comment.

Powered by Zendesk