mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-07 21:42:25 +00:00
Add identifier to blockquote #558
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CayasSoftware on GitHub (Sep 16, 2022).
I would like to ask a question on how to add an identifier to a parent element like a blockquote.
My markdown looks like this:
Which will be rendert to the following HTML:
My assumption was that, because it is placed at the blockquote, the id will be attached there. Unfortunately it is attached to the p-element. I also tried it between > and test which attaches the id to the first paragraph tag.
My desired result should look like:
Any advice on how to make it right would be great.
@xoofx commented on GitHub (Sep 20, 2022):
You need to add it just before (here) (and need a white line before the attribute)
@CayasSoftware commented on GitHub (Sep 20, 2022):
Thank you very much. That was the only combination I had not tried.