Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/schochastics/quarto_playground

A playground to test and implement features for quarto
https://github.com/schochastics/quarto_playground

quarto quarto-extension quarto-template

Last synced: about 2 months ago
JSON representation

A playground to test and implement features for quarto

Awesome Lists containing this project

README

        

repository to toy around with ideas to extend and use quarto

## Helpful snippets/links

```
quarto pandoc -f markdown -t json -o ast.json ast.md
```
produces the AST (helpful to see the internal structure before filters are applied)

Open in R with:
```
xfun:::tree(
jsonlite::fromJSON('ast.json', simplifyVector = FALSE)
)
```
(taken from [here](https://bookdown.org/yihui/rmarkdown-cookbook/lua-filters.html))

## launchbutton

Trying to implement a launch button which allows to run rendered ipynb files to be opened in [google colab](https://colab.research.google.com/?utm_source=scs-index) or other services.

This feature is impemented in [jupyterbooks](https://jupyterbook.org/en/stable/intro.html)

Ideal case would be that the button is automatically added whenever a ipynb is rendered.

[x] Extend title-block.html and add a yaml variable launch_buttons
[ ] Via a [ipynb-filter](https://quarto.org/docs/extensions/nbfilter.html)