Notebook parsing filters for Pandoc
Project description
Noteout
Pandoc filters for, among other things, extracting embedded notebooks, replacing with suitable link material.
See the example Quarto book project in
noteout/tests/qbook
for a quickstart.
Install with:
pip install noteout
or (for latest git version):
pip install git+https://github.com/matthew-brett/noteout
This allows you to delineate notebooks in your pages with markup of form:
Information in page.
::: {.notebook name="a_notebook"}
Some text.
```{r}
# Some code
```
:::
More information in page.
::: {.notebook name="b_notebook"}
More text.
```{r}
# More code
```
:::
Use with something like the following in your _quarto.yml
file:
filters:
- quarto
- noteout-write-notebooks
noteout:
nb-format: Rmd
By default, Noteout writes your notebooks to your Quarto output-dir
. In the example above, Noteout would write a_notebook.Rmd
and b_notebook.Rmd
to your output-dir
directory.
See the Resampling book for a fully worked example, with extra configuration, and the Resampling-with Github repository for the configuration and text source files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for noteout-0.0.3a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ccd3779127940e70372ca47fa5b75202caa62567c28dedc5a0eac1ff83ea4c9 |
|
MD5 | 3cbf958d0527726c00e9ba4e06fa7c34 |
|
BLAKE2b-256 | 3c7e378a5e89a3284cba4e338f974467e5c97a615b01464b1be0647de321d4f1 |