From 22f6981112393e5ed0676f77252552ddeccc2a3e Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 30 Apr 2022 18:51:29 +0100 Subject: [PATCH] [v0.1.0] - Reformat --- README.md | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2dfd3cc..bc80626 100644 --- a/README.md +++ b/README.md @@ -97,27 +97,44 @@ Arguments to be replaced within the template files should be wrapped in `{}` # Valid -{{#template file.txt path=../images author=Goudham }} +{{#template + file.txt + path=../images + author=Goudham +}} # Valid -// Not recommended but valid {{#template file.txt path=../images author=Goudham}} +// Not recommended but valid +{{#template file.txt path=../images author=Goudham}} # Valid -// Not recommended but valid {{#template file.txt path=../images author=Goudham }} +// Not recommended but valid +{{#template +file.txt + path=../images + author=Goudham +}} # Invalid -// Use {{#include}} for simply including files {{#template file.txt}} +// Use {{#include}} for simply including files +{{#template file.txt}} # Invalid -{{#template file.txt path=../images author=Goudham}} +{{#template + file.txt + path=../images + author=Goudham}} # Invalid -{{#template file.txt path=../images author=Goudham }} +{{#template file.txt + path=../images + author=Goudham +}} ``` ## Example @@ -176,7 +193,11 @@ Some Content... Some Content... -{{#template ../templates/footer.md path=../images authors=Goudham, Hazel }} +{{#template + ../templates/footer.md + path=../images + authors=Goudham, Hazel +}} ``` After running `mdbook build` with the mdbook-template preprocessor enabled, the files will have dynamic paths to the