From 58e9f82bc9c5be2747ddcc5191d1b0188521faeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asko=20N=C3=B5mm?= Date: Tue, 5 Nov 2024 19:43:45 +0200 Subject: [PATCH] Improve README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 71395e1..8c7e712 100644 --- a/README.md +++ b/README.md @@ -152,10 +152,10 @@ The partial will inherit the data dictionary that the parent template has, so yo Inner partials also support interpolated expressions, so you can get partials dynamically, like so: ```html -
+
``` -Where `partial` is a key in the Data dictionary that contains a string with a valid Htmt template. +Where `partial` is `{ "partial", "something" }`, and then `parts.something` would be the partial template it will load. ### `x:outer-partial` @@ -181,10 +181,10 @@ The partial will inherit the data dictionary that the parent template has, so yo Outer partials also support interpolated expressions, so you can get partials dynamically, like so: ```html -
+
``` -Where `partial` is a key in the Data dictionary that contains a string with a valid Htmt template. +Where `partial` is `{ "partial", "something" }`, and then `parts.something` would be the partial template it will load. ### `x:if`