|
|
@ -97,27 +97,44 @@ Arguments to be replaced within the template files should be wrapped in `{}`
|
|
|
|
|
|
|
|
|
|
|
|
# Valid
|
|
|
|
# Valid
|
|
|
|
|
|
|
|
|
|
|
|
{{#template file.txt path=../images author=Goudham }}
|
|
|
|
{{#template
|
|
|
|
|
|
|
|
file.txt
|
|
|
|
|
|
|
|
path=../images
|
|
|
|
|
|
|
|
author=Goudham
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
|
|
|
|
# Valid
|
|
|
|
# Valid
|
|
|
|
|
|
|
|
|
|
|
|
// Not recommended but valid {{#template file.txt path=../images author=Goudham}}
|
|
|
|
// Not recommended but valid
|
|
|
|
|
|
|
|
{{#template file.txt path=../images author=Goudham}}
|
|
|
|
|
|
|
|
|
|
|
|
# Valid
|
|
|
|
# Valid
|
|
|
|
|
|
|
|
|
|
|
|
// Not recommended but valid {{#template file.txt path=../images author=Goudham }}
|
|
|
|
// Not recommended but valid
|
|
|
|
|
|
|
|
{{#template
|
|
|
|
|
|
|
|
file.txt
|
|
|
|
|
|
|
|
path=../images
|
|
|
|
|
|
|
|
author=Goudham
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
|
|
|
|
# Invalid
|
|
|
|
# Invalid
|
|
|
|
|
|
|
|
|
|
|
|
// Use {{#include}} for simply including files {{#template file.txt}}
|
|
|
|
// Use {{#include}} for simply including files
|
|
|
|
|
|
|
|
{{#template file.txt}}
|
|
|
|
|
|
|
|
|
|
|
|
# Invalid
|
|
|
|
# Invalid
|
|
|
|
|
|
|
|
|
|
|
|
{{#template file.txt path=../images author=Goudham}}
|
|
|
|
{{#template
|
|
|
|
|
|
|
|
file.txt
|
|
|
|
|
|
|
|
path=../images
|
|
|
|
|
|
|
|
author=Goudham}}
|
|
|
|
|
|
|
|
|
|
|
|
# Invalid
|
|
|
|
# Invalid
|
|
|
|
|
|
|
|
|
|
|
|
{{#template file.txt path=../images author=Goudham }}
|
|
|
|
{{#template file.txt
|
|
|
|
|
|
|
|
path=../images
|
|
|
|
|
|
|
|
author=Goudham
|
|
|
|
|
|
|
|
}}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Example
|
|
|
|
## Example
|
|
|
@ -176,7 +193,11 @@ Some Content...
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
After running `mdbook build` with the mdbook-template preprocessor enabled, the files will have dynamic paths to the
|
|
|
|