From 303723634a171e1547b752ca8feec2dd49ab0b3d Mon Sep 17 00:00:00 2001 From: Njuguna Mureithi Date: Fri, 3 Apr 2026 18:06:12 +0300 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d4597ec..e256625 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Run dev server: ## Development This project includes a way to build code examples to ensure that they can compile eg: - +``` \```rust name="push" mode="inline" let task = Email { recipient: "main@example.com".to_string(), @@ -33,8 +33,9 @@ let task = Email { }; storage.push(task).await?; \``` +``` - +``` \```rust fileName="main.rs" mode="compile" use apalis::prelude::*; @@ -45,7 +46,7 @@ async fn main() -> Result<(), BoxDynError> { // [!code inline:push] } \``` - +``` This would generate: