Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

    *italicized text*

doesn't work.

like image 455
qazwsx Avatar asked Feb 19 '23 04:02

qazwsx


2 Answers

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 image 161
Stecman Avatar answered Mar 05 '23 02:03

Stecman


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.

like image 36
Blender Avatar answered Mar 05 '23 04:03

Blender