-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for links links and titles in block quote attributions #830
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
Heya, see #831, I agree that the attribution should be parsed as MyST
I'm not sure about acheiving this though; |
BTW I'm sorry if I've accidentally circumvented some kind of community process as the message of the bot insinuates. I just clicked "new issue" in the docs and search the issues for "attribution" (and found nothing). |
Oh no, this just gets fired for every first-time contributor 😄 |
Yeah I didn't feel attacked specifically, I'm just seeing mentions of issue templates (I had none) etc. :) |
@hynek would #831 be sufficient for you at this time?
But, as I mention above, I don't think this would currently propagate to the actual output HTML |
Would #831 mean I can do: {attribution="Hyrum Wright, [Hyrum’s Law](https://www.hyrumslaw.com>)"}
> With a sufficient number And get: <blockquote>
<p>With a sufficient number…</p>
<cite>— Hyrum Wright, <a href="https://www.hyrumslaw.com">Hyrum’s Law</a></cite>
</blockquote> ? I don't care that much about the cite attribute because I don't think anyone is actually using it? I primarily want to be able to have richer citations in the cite tag. :) |
yep 👍 see the updated example in https://myst-parser--831.org.readthedocs.build/en/831/syntax/optional.html#attributes |
Well, perfect! |
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:
would give me:
The text was updated successfully, but these errors were encountered: