Skip to content

Variables don't get resolved in Snippets #45

@Stwissel

Description

@Stwissel

I'm using your nice plugin together with the pymdownx.snippets plugin

I have

extra:
  test: 1.0.0
plugins:
  - search
  - awesome-pages
  - section-index
  - tags
  - markdownextradata: {}

and a test.md

# Test of extras

This is top: {{test}}

--8<-- "snippet.md"

End

and a snippet.md

In the snippet: {{test}}

Expected outcome

<h1>Test of extras</h1>

This is top: 1.0.0
In the snippet: 1.0.0

End

Actual outcome

<h1>Test of extras</h1>

This is top: 1.0.0
In the snippet: {{test}}

End

What do I miss?

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