script: opy in the .md.toml on a temp basis
This commit is contained in:
parent
c72f74d6a7
commit
58451c8350
2 changed files with 7 additions and 0 deletions
|
@ -1,8 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd Committee
|
||||
|
||||
# copy in teh config for this folder
|
||||
cp ../_scripts/md_toml/_Handovers.md.toml ./.md.toml
|
||||
|
||||
cargo-bfom
|
||||
|
||||
## cleanup
|
||||
rm -f .md.toml
|
||||
|
||||
# recursively parse _Handovers_html use wkhtmltopdf to convert to pdf
|
||||
cd _Handovers_html
|
||||
|
||||
|
|
46
_scripts/md_toml/_Handovers.md.toml
Normal file
46
_scripts/md_toml/_Handovers.md.toml
Normal file
|
@ -0,0 +1,46 @@
|
|||
|
||||
|
||||
# How many spaces of indentation do you want?
|
||||
# Defaults to 2
|
||||
# Optional
|
||||
indentation = 2
|
||||
|
||||
# Optional
|
||||
src = "./_Handovers"
|
||||
|
||||
# Optional
|
||||
dest= "./_Handovers_html"
|
||||
|
||||
# html blocks you dont want to include in teh finished page
|
||||
# Optional
|
||||
html_void = []
|
||||
|
||||
[template]
|
||||
# Templates are hjtml files that teh generated markdown is insereted into.
|
||||
# There are several options on how this is carried out.
|
||||
|
||||
# enable templating
|
||||
# Optional
|
||||
enable = true
|
||||
# Set a base template
|
||||
# Optional
|
||||
general = "./_Handovers/_Templates/general.html"
|
||||
|
||||
# Priority of the _templates to use, first one to match a markdown file is used.
|
||||
# An Empty array below is also valid
|
||||
|
||||
# general: use the general file specified above, if it exists.
|
||||
|
||||
# ajacent: check if there is a template file with the same name as the markdown file ajacent to the markdown file.
|
||||
# ./src/exasmple.md
|
||||
# ./src/example.html
|
||||
|
||||
# folder: a html file with the same name of the folder that the md resides in.
|
||||
# ./src/blog/blog.html
|
||||
# ./src/blog/post1.md
|
||||
|
||||
# default: use an inbuilt html5 template
|
||||
|
||||
|
||||
# Optional
|
||||
order = ["ajacent", "general", "folder", "default"]
|
Loading…
Add table
Add a link
Reference in a new issue