From 3af87ed81cccddc01656e6a07ec5588072afe0ea Mon Sep 17 00:00:00 2001 From: Rob Wagner Date: Mon, 23 Oct 2023 21:55:47 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a5d2c45..a26e289 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ trivially set the `HX-Request` header themselves. This is merely a convenience for preventing users from receiving partial responses without context. If you need to secure an endpoint you should be using a proper auth system._ -## Example: Extractors +### Example: Extractors In this example, we'll look for the `HX-Boosted` header, which is set when applying the [hx-boost](https://htmx.org/attributes/hx-boost/) attribute to an @@ -114,7 +114,7 @@ async fn get_index(HxBoosted(boosted): HxBoosted) -> impl IntoResponse { } ``` -## Example: Responders +### Example: Responders ```rust use axum_htmx::HxResponseTrigger;