Internal link in markdown filter

Example:

{% note() %}
Use this [link](@/internal/link.md).
{% end %}

and the note shortcode:

<div class="note">
{{ body | markdown | safe }}
</div>

The link.md file lives in content/internal/ folder, but the site can not build:

Reason: Filter call 'markdown' failed
Reason: Failed to render markdown filter: Error { kind: Msg("Relative link @/internal/link.md not found."), source: None }

I believe this is now handled in the next branch

1 Like