In Markdown, how to format italicized text in a quotation?

    *italicized text*

doesn't work.

有帮助吗?

解决方案

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*

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top