https://github.com/dgkf/quarto-revealjs-theme-reprex
https://github.com/dgkf/quarto-revealjs-theme-reprex
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dgkf/quarto-revealjs-theme-reprex
- Owner: dgkf
- Created: 2022-11-21T19:19:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-02T17:03:04.000Z (almost 2 years ago)
- Last Synced: 2025-02-05T03:48:50.278Z (4 months ago)
- Language: SCSS
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quarto RevealJS bug reprex
Custom themes appear to not be populated using revealjs, and file discovery
apperas quite flaky.For a while, I would get errors as SCSS fails to find `_variables.scss`, but
only if a revealjs presentation was _nested_ inside of another file.```
> quarto preview presentation.qmd
```Would build without error, while
```
> quarto preview examples/presentation.qmdERROR: Theme file compilation failed:
Error: Can't find stylesheet to import.
╷
46 │ @import "variables";
│ ^^^^^^^^^^^
╵
```Would fail to import the appropriate themes.
That issue seemed to disappear after running
```
rm -rf _site .quarto examples/presentation_files
```Nevertheless, this difference seems to underpin a deeper issue that quarto might
be ignoring the qmd file path when searching for theme files.After deleting those files, the whole project builds without error, which is
equally disconcerting, given that the `_variables.scss` currently attempts to
import a file that doesn't exist.