make_revealjs()
Create a Quarto reveal.js presentation.
The file starts from the "revealjs" stub.
Usage
make_revealjs(
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.