Open
Description
You often need to put a cite note into a blockquote.
> Something very smart here,
> other line of the wisdom.
> <cite>― Some Wise Guy</cite>
Now while this works, it's nowhere as neat and readable as this
> Something very smart here,
> other line of the wisdom.
> -- Some Wise Guy
I am using this to do the trick
"#^>\s*--\s*(.*)$#im" => "\n> <cite>$1</cite>\n",
along with a bit of CSS
blockquote cite {
display: block;
}
blockquote cite:before {
content: "\2014 \2009";
}
How about adding a support for the cite note into MarkdownExtra? Simply the last > -- Something
will turn into <cite>
outside the last paragraph, but still inside the blockquote.
Metadata
Metadata
Assignees
Labels
No labels