You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A relative link inside a {% notice "info" %} shortcode is not rendered as its final URL.
To Reproduce
{% notice "info" %}
Here is [a link inside this notice](./2021-05-10-wsl2-keepassxc-ssh.md).
{% endnotice %}
Here is the [same link outside](./2021-05-10-wsl2-keepassxc-ssh.md).
Expected behavior
The link outside the notice resolves to the page's final URL. The link inside the notice just links to the .md and is unresolved.
Eleventy 3.0 comes with this feature called the inputPathToUrl, and there will be no need for the extra plugins in this theme's eleventy.js. Just linking to my-blog.md should make it /blah/my-blog. And it should work within shortcodes too I think.
One last missing bit is the anchor tag like my-blog.md#sectionname , hopefully if this PR is merged, then Eleventy 3.0 can do that bit too.
Describe the bug
A relative link inside a
{% notice "info" %}
shortcode is not rendered as its final URL.To Reproduce
Expected behavior
The link outside the notice resolves to the page's final URL. The link inside the notice just links to the .md and is unresolved.
First noticed in the little notice box here: https://code.mendhak.com/keepassxc-sign-git-commit-with-ssh/
I can't figure out why though. The markdown library, with the additional rendering function, is being passed to the notice shortcode.
eleventy-satisfactory/.eleventy.js
Line 109 in 5c47557
The text was updated successfully, but these errors were encountered: