Single `>>>` inside code block:

```
# Code
>>>
# Code
```

Double `>>>` inside code block:

```txt
# Code
>>>
# Code
>>>
# Code
```

Blockquote outside code block:

> Quote

Code block inside blockquote:

> Quote
>
> ```
> # Code
> ```
>
> Quote

Single `>>>` inside code block inside blockquote:

> Quote
>
> ```
> # Code
> >>>
> # Code
> ```
>
> Quote

Double `>>>` inside code block inside blockquote:

> Quote
>
> ```
> # Code
> >>>
> # Code
> >>>
> # Code
> ```
>
> Quote

Single `>>>` inside HTML:

<pre>
# Code
>>>
# Code
</pre>

Double `>>>` inside HTML:

<pre>
# Code
>>>
# Code
>>>
# Code
</pre>

Blockquote outside HTML:

> Quote

HTML inside blockquote:

> Quote
>
> <pre>
> # Code
> </pre>
>
> Quote

Single `>>>` inside HTML inside blockquote:

> Quote
>
> <pre>
> # Code
> >>>
> # Code
> </pre>
>
> Quote

Double `>>>` inside HTML inside blockquote:

> Quote
>
> <pre>
> # Code
> >>>
> # Code
> >>>
> # Code
> </pre>
>
> Quote
