Switched from Pandoc to Python Markdown
Getty Ritter
9 years ago
3 | 3 |
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
4 | 4 |
PATH=$DIR:$PATH
|
5 | 5 |
|
6 | |
pandoc $2/text \
|
| 6 |
markdown_py2 $2/text \
|
7 | 7 |
| json-dict contents - \
|
8 | 8 |
| mustache - templates/textpage.mustache \
|
9 | 9 |
| json-dict title "$(cat $2/metadata.yaml | jq '.name')" contents - \
|