-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from databio/dev
Release 0.3.0
- Loading branch information
Showing
25 changed files
with
357 additions
and
679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{% for chapter in chapters %}{{ _md[chapter] }} | ||
{% for chapter in chapters %}{{ _md[chapter].content }} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{% for chapter in _yaml["chapters"] %}{{ _md[chapter] }} | ||
{% for chapter in _yaml["chapters"].content %}{{ _md[chapter].content }} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
metadata_variable: l0xn37lks8 | ||
--- | ||
|
||
# Chapter 3: Savings | ||
|
||
This is chapter 3 on savings. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
targets: | ||
default: | ||
jinja_template: book.jinja | ||
output_file: "demo_output.txt" | ||
command: cat > {output_file} | ||
data: | ||
md_globs: | ||
- ../md/*.md | ||
yaml_files: | ||
chapters: chapters.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{% for chapter in _yaml["chapters"].content %}{{ _md[chapter].content }} | ||
{% endfor %} | ||
|
||
{% for chapter in _yaml["chapters"].content %} | ||
{{_md[chapter].path}} | ||
{{_md[chapter].frontmatter.metadata_variable}} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- 01-intro | ||
- 02-credit | ||
- 03-savings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Introduction | ||
|
||
This is my introduction chapter | ||
|
||
... | ||
# Credit | ||
|
||
This is chapter 2 on credit. | ||
|
||
... | ||
# Chapter 3: Savings | ||
|
||
This is chapter 3 on savings. | ||
|
||
... |
Oops, something went wrong.