Quarto Experiment
quarto.qmd
How to build demo - Build
conda
environment fromenvironment.yml
. - Run
quarto render
. This should be very fast.
How to create PDF
Setup
- Install
npm
. -
npm install -g decktape
for global install.
Repeat
-
decktape reveal _output/quarto.html _output/quarto.pdf --screenshots-size=1280x720 --fragments=disable
or any other size in px. This takes awhile.
How to use Shiny
- Install
R
: https://www.r-project.org/ - Open RGui or use the R REPL at the terminal.
install.packages("rmarkdown")
install.packages("reticulate")
install.packages("shiny")
- Any other packages you need for the code you're using. This example repo needs the following.
install.packages("ggplot2")
- Use
quarto serve shiny.rmd
to run the Shiny example.- Theming currently does not work
VSCode Integration
- Install R extension
REditorSupport.r
- Open RGui or use the R REPL at the terminal.
-
install.packages("languageserver")
for linting, formatting, etc. -
install.packages("httpgd")
for plotting.
TODO
-
Finish syntax highlighting.
- Python (I think)
- R
- Markdown
- ??
-
.prettierrc file from Revealjs template repo
- CSS
- Markdown formatting config from docs repo