Skip to content

Resolve asset in <a> href (like <img> src) #1298

@b-zee

Description

@b-zee

What problem does this feature solve?

Allows linking to assets without using /public folder.

What does the proposed API look like?

<a href="../assets/logo.png">
  <img src="../assets/logo.png">
</a>

Results in:

<a href="../assets/logo.png">
  <img src="/img/logo.4f17609b.png">
</a>

Should result in:

<a href="/img/logo.4f17609b.png">
  <img src="/img/logo.4f17609b.png">
</a>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions