سؤال

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