Go back

Markdown Guide

2024-06-08

Headers

Headers are created using the # symbol. The number of # symbols indicates the level of the header.

# Heading 1

## Heading 2

### Heading 3

#### Heading 4

##### Heading 5

###### Heading 6

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Emphasis

You can emphasize text using asterisks (*) or underscores (_).

_Italic text_ or _Italic text_
**Bold text** or **Bold text**
~~Strikethrough~~

Italic text or Italic text
Bold text or Bold text
~~Strikethrough~~

Lists

Unordered Lists

Unordered lists use -, *, or +.

- Item 1
- Item 2
  - Subitem 1
  - Subitem 2

* Item 3

- Item 4
  • Item 1
  • Item 2
    • Subitem 1
    • Subitem 2
  • Item 3
  • Item 4

Ordered Lists

Ordered lists use numbers followed by periods.

1. First item
2. Second item
   1. Subitem 1
   2. Subitem 2
3. Third item
  1. First item
  2. Second item
    1. Subitem 1
    2. Subitem 2
  3. Third item

Links

You can create links using square brackets for the text and parentheses for the URL.

[HextaStudio](https://HextaStudio.in)

HextaStudio

Images

Images are similar to links but include an exclamation mark at the beginning.

![Alt text](https://www.example.com/image.jpg)

Markdown Logo

Code

Inline Code

Inline code is surrounded by backticks.

Use `code` in your text.

Use code in your text.

Code Blocks

Code blocks are created by indenting lines with four spaces or by using triple backticks.

function helloWorld() {
console.log("Hello, world!");
}
function helloWorld() {
  console.log("Hello, world!");
}

Blockquotes

Blockquotes are indicated using the > symbol.

> This is a blockquote.
>
> It can span multiple lines.

This is a blockquote.

It can span multiple lines.

Horizontal Rules

Horizontal rules are created by using three or more hyphens, asterisks, or underscores.

---
---

---



Tables

Tables are created using pipes | and hyphens -. Colons : are used to align columns.

| Syntax    | Description |
| --------- | ----------- |
| Header    | Title       |
| Paragraph | Text        |

| Left-aligned | Center-aligned | Right-aligned |
| :----------- | :------------: | ------------: |
| Left         |     Center     |         Right |

| Syntax | Description | | --------- | ----------- | | Header | Title | | Paragraph | Text |

| Left-aligned | Center-aligned | Right-aligned | | :----------- | :------------: | ------------: | | Left | Center | Right |

Inline HTML

You can use HTML tags within Markdown for more control.

<strong>This is bold text</strong>

This is bold text

Escaping Characters

Use a backslash \ to escape Markdown characters.

\*This text is not italicized\*

*This text is not italicized*

Combining Elements

You can combine multiple elements to create more complex documents.

My Blog Post

Welcome to my blog. Here is a summary:

  • Topic 1
  • Topic 2

Visit my website for more information.

"This is a blockquote."

Here's some code:

console.log("Hello, world!");

My Blog Post

Welcome to my blog. Here is a summary:

  • Topic 1
  • Topic 2

Visit my website for more information.

"This is a blockquote."

Here's some code:

console.log("Hello, world!");