> Source URL: /demos/play-demo.demo
# PathMX Play Demo

PathMX source can be played by hitting the play button or <kbd>Cmd+Enter</kbd> on your keyboard.

## Navigation

When play mode is actived, you can navigate either block-by-block (slide mode) or beat-by-beat (paragraphs, lists, etc.).

Try navigating this list below:

- This is the first item in the list
- A second one
- And a third one
  - This one is nested
  - And another one

## Code Blocks

You can also play through code blocks:

```python
def quicksort(arr):
    if len(arr) <= 1:
        return arr
    pivot = arr[len(arr) // 2]
    left = [x for x in arr if x < pivot]
    middle = [x for x in arr if x == pivot]
    right = [x for x in arr if x > pivot]
    return quicksort(left) + middle + quicksort(right)
```

## Math

You can also play through math:

$$
\sum_{i=1}^{n} i = \frac{n(n+1)}{2}
$$

## Links

You can also play through links:

[This is a link](./play-demo.demo.md)

---

# Welcome to block #2

> This block is more like a slide.

---

# Block #3

- This is a list item
- This is another list item
- This is a third list item

---

# Block #4

```python
print("Hello, World!")
```


---

## Backlinks

The following sources link to this document:

- [Play Demo](/index.path.llm.md)
- [This is a link](/demos/play-demo.demo.llm.md)
