Skip to content

Meta tags are rendered as if it were one page only #304

Description

@S-Groening

I don't know from looking at the docs, if it's supposed to be treated like this, but when including second.md into first.md, the meta tags of second.md gets rendered as visible text surrounded by line dividers in a way, that makes me think the sources are not being treated individually for it to then be combined in HTML. I might be ignorant to how mkDocs works internally, but I'd rather prefer each source to be treated individually before being combined in the correct order, according to include tags, if this makes any sense 😊

My issue specifically comes into play when using a homegrown macro to read through the page meta, extracting authors, but the way the plugin works, the including page's meta gets copied to the included pages and the page meta also ends up in the HTML, even if they're all treated as comments in the individual markdown renderings...

Is there any way to keep the last thing from happening? Then maybe I can invent some way of making the authors macro work as desired...

Best regards and thanks for a nifty plugin!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions