diff --git a/examples/readme/README.md b/examples/readme/README.md new file mode 100644 index 0000000..3396e41 --- /dev/null +++ b/examples/readme/README.md @@ -0,0 +1,15 @@ +# README Example + +Generated Files: + +`rust.html` + +![rust](website/rust.png) + +`go.html` + +![go](website/go.png) + +`friends/hazel.html` + +![friends/hazel](website/friends-hazel.png) \ No newline at end of file diff --git a/examples/readme/book.toml b/examples/readme/book.toml new file mode 100644 index 0000000..443cf71 --- /dev/null +++ b/examples/readme/book.toml @@ -0,0 +1,9 @@ +[book] +authors = ["sgoudham"] +language = "en" +multilingual = false +src = "src" +title = "ReadMe Example" + +# Enables the `mdbook-template` preprocessor +[preprocessor.template] \ No newline at end of file diff --git a/examples/readme/src/SUMMARY.md b/examples/readme/src/SUMMARY.md new file mode 100644 index 0000000..aab98da --- /dev/null +++ b/examples/readme/src/SUMMARY.md @@ -0,0 +1,6 @@ +# Summary + +- [Rust](rust.md) +- [Go](go.md) +- [Friends]() + - [Hazel](friends/hazel.md) \ No newline at end of file diff --git a/examples/readme/src/friends/hazel.md b/examples/readme/src/friends/hazel.md new file mode 100644 index 0000000..41d745e --- /dev/null +++ b/examples/readme/src/friends/hazel.md @@ -0,0 +1,8 @@ +# Hazel +Some Content... + +{{#template + ../templates/footer.md + path=../images + authors=Goudham, Hazel +}} \ No newline at end of file diff --git a/examples/readme/src/go.md b/examples/readme/src/go.md new file mode 100644 index 0000000..e689f06 --- /dev/null +++ b/examples/readme/src/go.md @@ -0,0 +1,4 @@ +# Go +Some Content... + +{{#template templates/footer.md path=images authors=Goudham, Hazel}} \ No newline at end of file diff --git a/examples/readme/src/images/corro.png b/examples/readme/src/images/corro.png new file mode 100644 index 0000000..a63aa50 Binary files /dev/null and b/examples/readme/src/images/corro.png differ diff --git a/examples/readme/src/images/ferris.png b/examples/readme/src/images/ferris.png new file mode 100644 index 0000000..cbcc88a Binary files /dev/null and b/examples/readme/src/images/ferris.png differ diff --git a/examples/readme/src/rust.md b/examples/readme/src/rust.md new file mode 100644 index 0000000..edcb4c3 --- /dev/null +++ b/examples/readme/src/rust.md @@ -0,0 +1,4 @@ +# Rust +Some Content... + +{{#template templates/footer.md authors=Goudham, Hazel path=images}} \ No newline at end of file diff --git a/examples/readme/src/templates/footer.md b/examples/readme/src/templates/footer.md new file mode 100644 index 0000000..946e4e2 --- /dev/null +++ b/examples/readme/src/templates/footer.md @@ -0,0 +1,3 @@ +-- Designed By {authors} -- +![ferris]({path}/ferris.png) +![corro]({path}/corro.png) \ No newline at end of file diff --git a/examples/readme/website/friends-hazel.png b/examples/readme/website/friends-hazel.png new file mode 100644 index 0000000..830b220 Binary files /dev/null and b/examples/readme/website/friends-hazel.png differ diff --git a/examples/readme/website/go.png b/examples/readme/website/go.png new file mode 100644 index 0000000..7457ed0 Binary files /dev/null and b/examples/readme/website/go.png differ diff --git a/examples/readme/website/rust.png b/examples/readme/website/rust.png new file mode 100644 index 0000000..23f0fc3 Binary files /dev/null and b/examples/readme/website/rust.png differ