Markdown language.

Learn how to write reports using the lightweight Markdown language

Definition

Markdown is a simple markup language used to create rich text (such as HTML) with a text editor. It allows you to add basic formatting to text using characters known and available on all keyboards. Font size, color, and other advanced options are not available in Markdown.

Markdown Syntax

This is a quick reference to the basic elements of Markdown syntax. There is no single standard, and different versions of Markdown may differ in details. But the basic elements from the list below are supported in all standards.

Text selection

This text will be italicized This text will be italic (italic)

This text will be bold This text will be bold

You can insert one type into another

Titles

‘# This is the largest heading, it turns into an

tag ‘##

‘###

‘####

‘#####

‘######

In Markdown, headings are written without the symbol '

https://hexlet.io - the text of a simple link will become a clickable link automatically You can make any text a link:

This is a Hexlet link

Quote

That’s a wise quote wise man.

Pictures

This is optional alt text

The code

To highlight code (or any unformatted text), special characters are used - back ticks: `

Sometimes you need to add a piece of code function(12); to a regular line of text. And sometimes you need to insert a whole block of code:

const func = (num) => {
  if (num > 0) {
    return num - 1;
  }
  return num + 1;
};

Lists

Unnumbered list:

  • Paragraph *One more item
    • Subparagraph
    • Another sub-item Numbered list:
  1. Item
  2. One more point
  3. Subparagraph
  4. One more subparagraph You can use any numbers in a numbered list - it doesn’t matter. When converted to HTML or another format, the numbers will become correct and consistent (1, 2, 3, etc.).
Andrievskaya Anastasiya Andreevna
Andrievskaya Anastasiya Andreevna
Student of RUDN

I study Operating Systems in the hope of acquiring the necessary and useful skills.