Skip to content

[Feature Request] <cite> in <blockquote> #131

Open
@MightyPork

Description

@MightyPork

You often need to put a cite note into a blockquote.

> Something very smart here,
> other line of the wisdom.

> <cite>&#8213; 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

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