18 lines
339 B
Bash
18 lines
339 B
Bash
#!/bin/bash
|
|
|
|
export PARTY1="Acme Co"
|
|
export PARTY2="Joint Venture Co"
|
|
|
|
|
|
# Expand variables into an intermediate markdown file for conversion to PDF
|
|
|
|
./mo DealMemoInput.md > DealMemoRendered.md
|
|
|
|
# Generate the PDF
|
|
|
|
pandoc \
|
|
DealMemoRendered.md \
|
|
--template eisvogel \
|
|
--metadata-file=DealMemo.yml \
|
|
--from markdown \
|
|
--output DealMemo.pdf \ |