make_presentation()
Create a presentation. The same as make_revealjs().
Usage
make_presentation(
name: str,
dir: str | Path | None = None,
*,
overwrite: bool = False,
subdir: str | None = None,
) -> Path
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| name required | str |
The file name before slugifying, such as "Data Cleaning", which becomes |
|
| dir | str | Path | None | None |
The folder. Default: |
| overwrite | bool | False |
Replace an existing file. |
| subdir | str | None | None |
A subfolder of |
Value
The path of the new file.
Raises
FrameworkError: When the file exists andoverwriteis False, or the stub is not found.