Skip to content

Commit

Permalink
docs: syntax highlighting on pseudo code
Browse files Browse the repository at this point in the history
  • Loading branch information
egil authored May 9, 2024
1 parent 0c22afe commit 41dabe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ In Htmxor, there are **two** types of routing:

The routing mode is determined by the presence or absence of [htmx headers](https://htmx.org/reference/#request_headers):

```
```python
if ( HX-Request is null || ( HX-Boosted is not null && HX-Target is null ) )
RoutingMode.Standard
RoutingMode.Standard
else
RoutingMode.Direct
RoutingMode.Direct
```

Here's a detailed look at each mode:
Expand Down

0 comments on commit 41dabe1

Please sign in to comment.