Basic Markdown formatting

Markdown is designed to be easy to write and easy to read. Instead of using complex HTML tags, you format text with plain symbols like #, *, and -. This makes it ideal for authors, educators, and developers who want to focus on content rather than layout.

The Interactive book module follows the CommonMark standard - a widely adopted Markdown specification that ensures consistent behavior across platforms.

If you're new to Markdown or just want a quick refresher, the CommonMark tutorial is a great place to start. It walks you through the basics step by step, with examples you can try out right away.

Headings

Use # for headings. More # symbols mean deeper levels.

# Chapter Title
## Section Title
### Subsection Title

Tip

Interactive book module alters the heading level automatically to match current page to improve the content accessibility.

Emphasis

Use asterisks or underscores for italics and bold.

*italic text*  
**bold text**  
***bold and italic***
  • italic text
  • bold text
  • bold and italic

Lists

Create bullet or numbered lists.

- First item
- Second item

1. Step one
2. Step two
  • First item
  • Second item
  1. Step one
  2. Step two

Links

Use square brackets for the link text and parentheses for the URL.

[Visit Moodle](https://moodle.org)

Visit Moodle

Images

Add images using an exclamation mark before the link.

![Moodle Logo](https://moodle.org/pix/moodlelogo.svg)

Blockquotes

Use > to create a blockquote.

> This is a quoted paragraph.

This is a quoted paragraph.

Horizontal Line

Use three dashes or asterisks to create a horizontal line.

---

Escaping Characters

Use a backslash \ to escape Markdown symbols.

\*This will not be italic\*

*This will not be italic*

Code

Use backticks for inline code and triple backticks for code blocks.

Inline example: `print("Hello")`

Inline example: print("Hello")

Use three backticks ``` for blocks of code.

```
def greet(): print("Hello, world!")
```
def greet(): print("Hello, world!")