This file contains hidden or 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
--- | |
# Using https://github.com/Wandmalfarbe/pandoc-latex-template | |
# wget https://github.com/Wandmalfarbe/pandoc-latex-template/releases/download/v2.0.0/Eisvogel-2.0.0.tar.gz | |
# mkdir Eisvogel-2.0.0 && tar -xf Eisvogel-2.0.0.tar.gz -C Eisvogel-2.0.0 | |
# pandoc report.md -t latex -o report.pdf --template Eisvogel-2.0.0/eisvogel.latex | |
title: Document Title | |
author: Author Name | |
date: 2022-01-01 | |
titlepage: true |
This file contains hidden or 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 script searches a Jupyter notebook for markdown cells that start with | |
three colons (:::) and replaces their content with text from the file path | |
that follows. | |
Example cell markup: | |
':::target_file.md' | |
Usage: | |
python substitute-md.py my-report.ipynb |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.