|
401 | 401 | };
|
402 | 402 |
|
403 | 403 | // Store cell data
|
404 |
| -globalThis.qwebrCellDetails = [{"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","id":1,"options":{"dpi":72,"read-only":"false","output":"true","fig-width":7,"fig-height":5,"warning":"true","editor-font-scale":"1","fig-cap":"","label":"unnamed-chunk-1","out-width":"700px","classes":"","context":"interactive","editor-word-wrap":"true","out-height":"","message":"true","results":"markup","comment":"","editor-quick-suggestions":"false","editor-max-height":"","autorun":"false"}},{"code":"# Generating a simple table\ndata <- data.frame(\n Name = c(\"Alice\", \"Bob\", \"Charlie\"),\n Age = c(25, 30, 22)\n)","id":2,"options":{"dpi":72,"read-only":"false","output":"true","fig-width":7,"fig-height":5,"warning":"true","editor-font-scale":"1","fig-cap":"","label":"unnamed-chunk-2","out-width":"700px","classes":"","context":"setup","editor-word-wrap":"true","out-height":"","message":"true","results":"markup","comment":"","editor-quick-suggestions":"false","editor-max-height":"","autorun":"true"}},{"code":"knitr::kable(data, \"html\")","id":3,"options":{"dpi":72,"read-only":"false","output":"true","fig-width":7,"fig-height":5,"warning":"true","editor-font-scale":"1","fig-cap":"","label":"unnamed-chunk-3","out-width":"700px","classes":"","context":"interactive","editor-word-wrap":"true","out-height":"","message":"true","results":"asis","comment":"","editor-quick-suggestions":"false","editor-max-height":"","autorun":"false"}},{"code":"knitr::kable(data, \"html\")","id":4,"options":{"dpi":72,"read-only":"false","output":"true","fig-width":7,"fig-height":5,"warning":"true","editor-font-scale":"1","fig-cap":"","label":"unnamed-chunk-4","out-width":"700px","classes":"","context":"interactive","editor-word-wrap":"true","out-height":"","message":"true","results":"markup","comment":"","editor-quick-suggestions":"false","editor-max-height":"","autorun":"false"}},{"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)","id":5,"options":{"dpi":72,"read-only":"false","output":"true","fig-width":"6","fig-height":"6","warning":"true","editor-font-scale":"1","fig-cap":"","label":"unnamed-chunk-5","out-width":"700px","classes":"","context":"output","editor-word-wrap":"true","out-height":"","message":"true","results":"markup","comment":"","editor-quick-suggestions":"false","editor-max-height":"","autorun":"true"}},{"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)","id":6,"options":{"dpi":72,"read-only":"false","output":"true","fig-width":7,"fig-height":5,"warning":"true","editor-font-scale":"1","fig-cap":"","label":"unnamed-chunk-6","out-width":"700px","classes":"","context":"output","editor-word-wrap":"true","out-height":"","message":"true","results":"markup","comment":"","editor-quick-suggestions":"false","editor-max-height":"","autorun":"true"}},{"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)","id":7,"options":{"dpi":72,"read-only":"false","output":"true","fig-width":"6","fig-height":"6","warning":"true","editor-font-scale":"1","fig-cap":"","label":"unnamed-chunk-7","out-width":"500px","classes":"","context":"output","editor-word-wrap":"true","out-height":"500px","message":"true","results":"markup","comment":"","editor-quick-suggestions":"false","editor-max-height":"","autorun":"true"}}]; |
| 404 | +globalThis.qwebrCellDetails = [{"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","options":{"fig-cap":"","output":"true","context":"interactive","editor-word-wrap":"true","comment":"","message":"true","editor-font-scale":"1","out-height":"","out-width":"700px","results":"markup","autorun":"false","read-only":"false","warning":"true","editor-max-height":"","editor-quick-suggestions":"false","fig-width":7,"label":"unnamed-chunk-1","dpi":72,"classes":"","fig-height":5},"id":1},{"code":"# Generating a simple table\ndata <- data.frame(\n Name = c(\"Alice\", \"Bob\", \"Charlie\"),\n Age = c(25, 30, 22)\n)","options":{"fig-cap":"","output":"true","context":"setup","editor-word-wrap":"true","comment":"","message":"true","editor-font-scale":"1","out-height":"","out-width":"700px","results":"markup","autorun":"true","read-only":"false","warning":"true","editor-max-height":"","editor-quick-suggestions":"false","fig-width":7,"label":"unnamed-chunk-2","dpi":72,"classes":"","fig-height":5},"id":2},{"code":"knitr::kable(data, \"html\")","options":{"fig-cap":"","output":"true","context":"interactive","editor-word-wrap":"true","comment":"","message":"true","editor-font-scale":"1","out-height":"","out-width":"700px","results":"asis","autorun":"false","read-only":"false","warning":"true","editor-max-height":"","editor-quick-suggestions":"false","fig-width":7,"label":"unnamed-chunk-3","dpi":72,"classes":"","fig-height":5},"id":3},{"code":"knitr::kable(data, \"html\")","options":{"fig-cap":"","output":"true","context":"interactive","editor-word-wrap":"true","comment":"","message":"true","editor-font-scale":"1","out-height":"","out-width":"700px","results":"markup","autorun":"false","read-only":"false","warning":"true","editor-max-height":"","editor-quick-suggestions":"false","fig-width":7,"label":"unnamed-chunk-4","dpi":72,"classes":"","fig-height":5},"id":4},{"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)","options":{"fig-cap":"","output":"true","context":"output","editor-word-wrap":"true","comment":"","message":"true","editor-font-scale":"1","out-height":"","out-width":"700px","results":"markup","autorun":"true","read-only":"false","warning":"true","editor-max-height":"","editor-quick-suggestions":"false","fig-width":"6","label":"unnamed-chunk-5","dpi":72,"classes":"","fig-height":"6"},"id":5},{"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)","options":{"fig-cap":"","output":"true","context":"output","editor-word-wrap":"true","comment":"","message":"true","editor-font-scale":"1","out-height":"","out-width":"700px","results":"markup","autorun":"true","read-only":"false","warning":"true","editor-max-height":"","editor-quick-suggestions":"false","fig-width":7,"label":"unnamed-chunk-6","dpi":72,"classes":"","fig-height":5},"id":6},{"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)","options":{"fig-cap":"","output":"true","context":"output","editor-word-wrap":"true","comment":"","message":"true","editor-font-scale":"1","out-height":"500px","out-width":"500px","results":"markup","autorun":"true","read-only":"false","warning":"true","editor-max-height":"","editor-quick-suggestions":"false","fig-width":"6","label":"unnamed-chunk-7","dpi":72,"classes":"","fig-height":"6"},"id":7}]; |
405 | 405 |
|
406 | 406 | </script>
|
407 | 407 | <script type="module">
|
|
1606 | 1606 |
|
1607 | 1607 | <div id="quarto-search-results"></div>
|
1608 | 1608 | <header id="quarto-header" class="headroom fixed-top">
|
| 1609 | + <div id="quarto-announcement" data-announcement-id="120d11d612021758b0207b437cf2dffd" class="alert alert-primary hidden"><i class="bi bi-info-circle quarto-announcement-icon"></i><div class="quarto-announcement-content"> |
| 1610 | +<p>Looking for the official Quarto WebAssembly backend? Check out <a href="https://github.com/r-wasm/quarto-live"><code>quarto-live</code></a>!</p> |
| 1611 | +</div><i class="bi bi-x-lg quarto-announcement-action"></i></div> |
1609 | 1612 | <nav class="quarto-secondary-nav">
|
1610 | 1613 | <div class="container-fluid d-flex">
|
1611 | 1614 | <button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" role="button" data-bs-target=".quarto-sidebar-collapse-item" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
|
@@ -2159,19 +2162,7 @@ <h1 class="title">Demo: Initial Code Cell Option Support</h1>
|
2159 | 2162 |
|
2160 | 2163 | </header>
|
2161 | 2164 |
|
2162 |
| -<div class="callout callout-style-default callout-important callout-titled"> |
2163 |
| -<div class="callout-header d-flex align-content-center"> |
2164 |
| -<div class="callout-icon-container"> |
2165 |
| -<i class="callout-icon"></i> |
2166 |
| -</div> |
2167 |
| -<div class="callout-title-container flex-fill"> |
2168 |
| -Important |
2169 |
| -</div> |
2170 |
| -</div> |
2171 |
| -<div class="callout-body-container callout-body"> |
2172 |
| -<p>Looking for the official Quarto WebAssembly backend? Check out <a href="https://github.com/r-wasm/quarto-live"><code>quarto-live</code></a>!</p> |
2173 |
| -</div> |
2174 |
| -</div> |
| 2165 | + |
2175 | 2166 | <section id="overview" class="level1">
|
2176 | 2167 | <h1>Overview</h1>
|
2177 | 2168 | <p>In this document, we will explore and demonstrate the various cell options available in <code>{webr-r}</code> code blocks. These options allow you to customize the behavior and appearance of your code outputs. These options can only be set during the authoring stage of the document.</p>
|
|
0 commit comments