Language: EN

como-usar-citas-en-markdown

How to use quotes in Markdown

Citations are a common mechanism to reference the sources of an article, give credit to authors, or strengthen the arguments presented.

Or because you feel like putting a joke in the middle 😅

Blockquotes in Markdown are created using the greater than symbol (>).

This symbol is placed at the beginning of a line or paragraph that you want to quote. Quotes can be a single line or span multiple lines.

Single Line Quotes

To quote a single paragraph or line, we place > before the text we want to quote.

> Technology is advancing rapidly, changing the way we live and work.

This renders as:

Technology is advancing rapidly, changing the way we live and work.

Multi-Line Quotes

If the quote spans multiple lines, we will place > at the beginning of each line. Alternatively, we can leave a blank line and place > only at the beginning of the first line.

> "Education is the most powerful weapon which you can use to change the world."
> 
> — Nelson Mandela

This renders as:

“Education is the most powerful weapon which you can use to change the world.”

— Nelson Mandela

Nested Quotes

Markdown also allows you to create nested quotes by adding multiple > symbols.

> Among his great phrases are:
> 
> > "Education is the most powerful weapon which you can use to change the world."
> > — Nelson Mandela

This renders as:

Technology is crucial for development:

“Education is the most powerful weapon which you can use to change the world.” — Nelson Mandela

Why would you want to do that? No idea, but you can 😊.

Best Practices for Using Quotes in Markdown

Relevance and Pertinence: Ensure that quotes are relevant and support your arguments or information presented

Clarity and Context: Provide sufficient context around the quote so that readers understand its relevance

Credibility of the Source: Use quotes from credible and respected sources to strengthen your document