Skip to content

Commit e4d4b67

Browse files
committed
fix note and tip blocks in README
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
1 parent dedeee7 commit e4d4b67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def get_dynamic_data(request: Request, response: Response):
201201
return {"success": True, "message": "this data should only be cached temporarily"}
202202
```
203203

204-
[!NOTE]
204+
> [!NOTE]
205205
> `expire` can be either an `int` value or `timedelta` object. When
206206
> the TTL is very short (like the example above) this results in a decorator
207207
> that is expressive and requires minimal effort to parse visually. For
@@ -255,7 +255,7 @@ def partial_cache_two_hours(response: Response):
255255
return {"success": True, "message": "this data should be cached for two hours"}
256256
```
257257

258-
[!TIP]
258+
> [!TIP]
259259
> Please read the full documentation on the [website][website] for more
260260
> information on the `@cache` decorator and the pre-defined lifetimes.
261261
> There is also a section on [cache keys][cache-keys] that explains how the

0 commit comments

Comments
 (0)