Skip to content

Feature Request: add ability to specify metadata on HTML links, e.g. "rel=external" without using raw HTML links #146

Open
@athompso

Description

There does not appear to be any way to turn (this is not actual working syntax):
words (title)[link]{rel=external} more words
into:
words <a rel="external" href="link">title</a> more words

Specifying the href by hand works, if I do:
words <a rel="external" href="link>title</a> more words
that generates, er...
words <a rel="external" href="link>title</a> more words
in the HTML, but that seems to go against the spirit of why lowdown exists (agnostic input, multi-format output).

In this case, our CSS uses the rel=external attribute to automatically place an "external link" arrow in the title, which we find valuable.
Any suggestions? Best I've come up with is to do [title🔗] which works but is a PITA for many reasons including semantic dilution.

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