]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update includes in `docs/en/docs/how-to/graphql.md` (#12564)
authorPhilip Okiokio <55271518+philipokiokio@users.noreply.github.com>
Sun, 27 Oct 2024 15:18:53 +0000 (16:18 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Oct 2024 15:18:53 +0000 (15:18 +0000)
docs/en/docs/how-to/graphql.md

index 2a4377d1697d2d28b5f0d4cffba77cbe9e62b2c5..5d8f879d174ac3b34ee1640253d80871c87cc82c 100644 (file)
@@ -35,9 +35,9 @@ Depending on your use case, you might prefer to use a different library, but if
 
 Here's a small preview of how you could integrate Strawberry with FastAPI:
 
-```Python hl_lines="3  22  25-26"
-{!../../docs_src/graphql/tutorial001.py!}
-```
+
+{* ../../docs_src/graphql/tutorial001.py hl[3,22,25:26] *}
+
 
 You can learn more about Strawberry in the <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry documentation</a>.