Creating and retrieving blocksUse these functions to create and retrieve blocks. The blocks service uses GitHub gists, so you will need a GitHub account, as well as a Personal Access Token (PAT). If want to include preview and thumb images with the block, you will need nodejs installed on your system, and the processx and magick packages. |
|
---|---|
Create gist to use as block |
|
Retrieve vegaspec from block |
|
Specify block-configuration |
|
vegawidget utilitiesThese functions are imported from the vegawidget package, and re-exported from this package. |
|
Coerce to vegaspec |
|
Vega embed options |
|
Determine Vega JavaScript versions |