[TEM #2] - Add default-value example book
parent
1743f24bd5
commit
197bbcba3b
@ -0,0 +1,9 @@
|
||||
[book]
|
||||
authors = ["sgoudham"]
|
||||
language = "en"
|
||||
multilingual = false
|
||||
src = "src"
|
||||
title = "default-value"
|
||||
|
||||
# Enables the `mdbook-template` preprocessor
|
||||
[preprocessor.template]
|
@ -0,0 +1,6 @@
|
||||
# Summary
|
||||
|
||||
- [Rust](rust.md)
|
||||
- [Go](go.md)
|
||||
- [Friends]()
|
||||
- [Hazel](friends/hazel.md)
|
@ -0,0 +1,12 @@
|
||||
# Hazel
|
||||
Some Content...
|
||||
|
||||
Width and Height both overridden to 200x200 !
|
||||
|
||||
{{#template
|
||||
../templates/footer.md
|
||||
path=../images
|
||||
authors=Goudham, Hazel
|
||||
width=200px
|
||||
height=200px
|
||||
}}
|
@ -0,0 +1,6 @@
|
||||
# Go
|
||||
Some Content...
|
||||
|
||||
Width overridden to 200px !
|
||||
|
||||
{{#template templates/footer.md path=images authors=Goudham, Hazel width=200px}}
|
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
@ -0,0 +1,6 @@
|
||||
# Rust
|
||||
Some Content...
|
||||
|
||||
Both images are defaulted to 400x400 !
|
||||
|
||||
{{#template templates/footer.md authors=Goudham, Hazel path=images}}
|
@ -0,0 +1,4 @@
|
||||
-- Designed By [[#authors]] --
|
||||
|
||||
<img src="[[#path]]/ferris.png" width="[[#width 400px]]" height="[[#height 400px]]">
|
||||
<img src="[[#path]]/corro.png" width="[[#width 400px]]" height="[[#height 400px]]">
|
Loading…
Reference in New Issue