Configuration reference
Contents
Configuration reference¶
This page lists the configuration options that are available to control MyST-NB. For more detailed explanation of when to use each option, see the other sections in the documentation.
MyST Parser configuration¶
The MyST-NB parser derives from the base MyST-Parser, and so all the same configuration options are available. See the MyST configuration options for the full set of options.
Notebook execution configuration¶
This configuration is used to control how Jupyter Notebooks are executed at build-time.
Option |
Default |
Description |
---|---|---|
|
“” |
Path to jupyter_cache, see here for details. |
|
() |
Exclude certain file patterns from execution, see here for details. |
|
“auto” |
The logic for executing notebooks, see here for details. |
|
|
If |
|
|
If |
|
30 |
The maximum time (in seconds) each notebook cell is allowed to run. This can also be overridden by metadata in a notebook, see here for details. |
|
|
Show failed notebook tracebacks in stdout (in addition to writing to file). |
Notebook parsing and output rendering¶
These configuration options affect the look and feel of notebook parsing and output rendering.
Option |
Default |
Description |
---|---|---|
|
|
Define custom functions for conversion of files to notebooks, see here for details. |
|
|
Dict override for MIME type render priority, see here for details. |
|
|
Entry point pointing toward a code cell output renderer, see here for details. |
|
|
pygments lexer for rendering text outputs, see here for details. |
|
|
The top-level cell metadata key, to store render control data, see here for examples. |
|
|
One of ‘show’, ‘remove’, ‘warn’, ‘error’ or ‘severe’, see here for details. |
|
|
If |