From 41dabe19a117ae98b3369b4b661594ef76d7f51f Mon Sep 17 00:00:00 2001 From: Egil Hansen Date: Thu, 9 May 2024 20:57:43 +0000 Subject: [PATCH] docs: syntax highlighting on pseudo code --- docs/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index 27f72a1..71f2283 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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: