Replies: 1 comment 1 reply
-
|
You’re close. Just a slight syntax change in your Markdown file: [This is a link]({{ metadata.url }})This assumes:
You can use shortcodes in your Markdown files out-of-the-box. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm working on a project where I'm using 11ty.js as the template engine for Markdown files (relevant doc section). I'd like to render a value from a global data file inside a Markdown file, like so:
Is there a way to render template literals or use 11ty.js shortcodes in Markdown files? I'm aware of
markdown-it-container, but that's block-level.Beta Was this translation helpful? Give feedback.
All reactions