Skip to content

Allow for links links and titles in block quote attributions #830

@hynek

Description

@hynek

I would like to use attrs_block attributions for my block quotes but it seems like I can't have a title and a link in there. If I use a Markdown link, it's used verbatim, if I use an HTML link, the attrs line is rendered verbatim.

Ideally it would be a separate attribute:

{attribution="Hyrum Wright", attribution_title="Hyrum's Law" attribution_link="https://www.hyrumslaw.com"}
> With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.

would give me:

<blockquote cite="https://www.hyrumslaw.com">
  <p>With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.</p>

  <cite>— Hyrum Wright, <a href="https://www.hyrumslaw.com">Hyrum’s Law</a></cite>
</blockquote>

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