In Markdown, how to format italicized text in a quotation?
Question
In Markdown, how to format italicized text in a quotation?
*italicized text*
doesn't work.
Solution
Indenting 4 spaces in Markdown indicates a code block: a pre
element for displaying code or pre-formatted text. Markdown syntax is ignored inside code blocks, hence why your example doesn't work.
You need to use the blockquote syntax:
> *italicized text*
OTHER TIPS
Like this?
Here's the code:
>*Like this?*
You denote block quotes with >
characters. Indenting four spaces creates a code block, which you cannot insert italicized text into.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow