Description Usage Arguments Details
Cases when you'd want to return the output of publish(): dependency x is a javascript library or css file to be referenced in a <script> or <link> tag in <head>
1 |
x |
item to expand |
Cases when you'd want to return the output of readData(publish()): when the context for rendering a mustache template includes named viz items whose contents we want to include. For example: a page section's template has a text-before field, and the context for that section includes 'text-before: page_text.section3_text_before', and section3_text_before is a named item in page_text.yaml.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.