Skip to content

Commit 69af2d9

Browse files
committed
Deploying to gh-pages from @ 9f05fb8 🚀
1 parent 42922d6 commit 69af2d9

File tree

56 files changed

+169
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+169
-111
lines changed

demos/qwebr-auto-run.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
};
393393

394394
// Store cell data
395-
globalThis.qwebrCellDetails = [{"options":{"comment":"","label":"unnamed-chunk-1","editor-max-height":"","classes":"","fig-cap":"","read-only":"false","warning":"true","out-width":"700px","fig-height":5,"results":"markup","editor-quick-suggestions":"false","dpi":72,"context":"interactive","output":"true","message":"true","out-height":"","editor-font-scale":"1","autorun":"false","fig-width":7},"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","id":1},{"options":{"comment":"","label":"unnamed-chunk-2","editor-max-height":"","classes":"","fig-cap":"","read-only":"false","warning":"true","out-width":"700px","fig-height":5,"results":"markup","editor-quick-suggestions":"false","dpi":72,"context":"interactive","output":"true","message":"true","out-height":"","editor-font-scale":"1","autorun":"true","fig-width":7},"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","id":2},{"options":{"comment":"","label":"unnamed-chunk-3","editor-max-height":"","classes":"","fig-cap":"","read-only":"false","warning":"true","out-width":"700px","fig-height":5,"results":"markup","editor-quick-suggestions":"false","dpi":72,"context":"output","output":"true","message":"true","out-height":"","editor-font-scale":"1","autorun":"true","fig-width":7},"code":"data(\"gapminder\", package = \"gapminder\")\nhead(gapminder)","id":3},{"options":{"comment":"","label":"unnamed-chunk-4","editor-max-height":"","classes":"","fig-cap":"","read-only":"false","warning":"true","out-width":"500px","fig-height":"3","results":"markup","editor-quick-suggestions":"false","dpi":72,"context":"output","output":"true","message":"true","out-height":"","editor-font-scale":"1","autorun":"true","fig-width":"5"},"code":"ggplot(gapminder, aes(lifeExp)) + \n geom_density(aes(fill=continent), alpha=1/4) + theme_bw() ","id":4},{"options":{"comment":"","label":"unnamed-chunk-5","editor-max-height":"","classes":"","fig-cap":"","read-only":"false","warning":"true","out-width":"500px","fig-height":"3","results":"markup","editor-quick-suggestions":"false","dpi":72,"context":"interactive","output":"true","message":"true","out-height":"","editor-font-scale":"1","autorun":"true","fig-width":"5"},"code":"ggplot(gapminder, aes(lifeExp)) + \n theme_bw() ","id":5}];
395+
globalThis.qwebrCellDetails = [{"options":{"results":"markup","fig-cap":"","context":"interactive","editor-word-wrap":"true","message":"true","output":"true","comment":"","fig-height":5,"out-width":"700px","out-height":"","label":"unnamed-chunk-1","autorun":"false","editor-quick-suggestions":"false","editor-max-height":"","read-only":"false","dpi":72,"fig-width":7,"classes":"","warning":"true","editor-font-scale":"1"},"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","id":1},{"options":{"results":"markup","fig-cap":"","context":"interactive","editor-word-wrap":"true","message":"true","output":"true","comment":"","fig-height":5,"out-width":"700px","out-height":"","label":"unnamed-chunk-2","autorun":"true","editor-quick-suggestions":"false","editor-max-height":"","read-only":"false","dpi":72,"fig-width":7,"classes":"","warning":"true","editor-font-scale":"1"},"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","id":2},{"options":{"results":"markup","fig-cap":"","context":"output","editor-word-wrap":"true","message":"true","output":"true","comment":"","fig-height":5,"out-width":"700px","out-height":"","label":"unnamed-chunk-3","autorun":"true","editor-quick-suggestions":"false","editor-max-height":"","read-only":"false","dpi":72,"fig-width":7,"classes":"","warning":"true","editor-font-scale":"1"},"code":"data(\"gapminder\", package = \"gapminder\")\nhead(gapminder)","id":3},{"options":{"results":"markup","fig-cap":"","context":"output","editor-word-wrap":"true","message":"true","output":"true","comment":"","fig-height":"3","out-width":"500px","out-height":"","label":"unnamed-chunk-4","autorun":"true","editor-quick-suggestions":"false","editor-max-height":"","read-only":"false","dpi":72,"fig-width":"5","classes":"","warning":"true","editor-font-scale":"1"},"code":"ggplot(gapminder, aes(lifeExp)) + \n geom_density(aes(fill=continent), alpha=1/4) + theme_bw() ","id":4},{"options":{"results":"markup","fig-cap":"","context":"interactive","editor-word-wrap":"true","message":"true","output":"true","comment":"","fig-height":"3","out-width":"500px","out-height":"","label":"unnamed-chunk-5","autorun":"true","editor-quick-suggestions":"false","editor-max-height":"","read-only":"false","dpi":72,"fig-width":"5","classes":"","warning":"true","editor-font-scale":"1"},"code":"ggplot(gapminder, aes(lifeExp)) + \n theme_bw() ","id":5}];
396396

397397
</script>
398398
<script type="module">
@@ -1932,7 +1932,8 @@ <h2 id="toc-title">On this page</h2>
19321932
renderLineHighlight: "none", // Disable current line highlighting
19331933
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
19341934
readOnly: qwebrOptions['read-only'] ?? false,
1935-
quickSuggestions: qwebrOptions['editor-quick-suggestions'] ?? false
1935+
quickSuggestions: qwebrOptions['editor-quick-suggestions'] ?? false,
1936+
wordWrap: (qwebrOptions['editor-word-wrap'] == 'true' ? "on" : "off")
19361937
});
19371938

19381939
// Store the official counter ID to be used in keyboard shortcuts

demos/qwebr-code-cell-options.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
};
393393

394394
// Store cell data
395-
globalThis.qwebrCellDetails = [{"id":1,"options":{"comment":"","fig-height":5,"out-height":"","dpi":72,"label":"unnamed-chunk-1","warning":"true","autorun":"false","editor-quick-suggestions":"false","classes":"","editor-max-height":"","output":"true","results":"markup","fig-width":7,"out-width":"700px","context":"interactive","message":"true","fig-cap":"","read-only":"false","editor-font-scale":"1"},"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))"},{"id":2,"options":{"comment":"","fig-height":5,"out-height":"","dpi":72,"label":"unnamed-chunk-2","warning":"true","autorun":"true","editor-quick-suggestions":"false","classes":"","editor-max-height":"","output":"true","results":"markup","fig-width":7,"out-width":"700px","context":"setup","message":"true","fig-cap":"","read-only":"false","editor-font-scale":"1"},"code":" \n# Generating a simple table\ndata <- data.frame(\n Name = c(\"Alice\", \"Bob\", \"Charlie\"),\n Age = c(25, 30, 22)\n)"},{"id":3,"options":{"comment":"","fig-height":5,"out-height":"","dpi":72,"label":"unnamed-chunk-3","warning":"true","autorun":"false","editor-quick-suggestions":"false","classes":"","editor-max-height":"","output":"true","results":"asis","fig-width":7,"out-width":"700px","context":"interactive","message":"true","fig-cap":"","read-only":"false","editor-font-scale":"1"},"code":"knitr::kable(data, \"html\")"},{"id":4,"options":{"comment":"","fig-height":5,"out-height":"","dpi":72,"label":"unnamed-chunk-4","warning":"true","autorun":"false","editor-quick-suggestions":"false","classes":"","editor-max-height":"","output":"true","results":"markup","fig-width":7,"out-width":"700px","context":"interactive","message":"true","fig-cap":"","read-only":"false","editor-font-scale":"1"},"code":"knitr::kable(data, \"html\")"},{"id":5,"options":{"comment":"","fig-height":"6","out-height":"","dpi":72,"label":"unnamed-chunk-5","warning":"true","autorun":"true","editor-quick-suggestions":"false","classes":"","editor-max-height":"","output":"true","results":"markup","fig-width":"6","out-width":"700px","context":"output","message":"true","fig-cap":"","read-only":"false","editor-font-scale":"1"},"code":"\ntinyplot::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":{"comment":"","fig-height":5,"out-height":"","dpi":72,"label":"unnamed-chunk-6","warning":"true","autorun":"true","editor-quick-suggestions":"false","classes":"","editor-max-height":"","output":"true","results":"markup","fig-width":7,"out-width":"700px","context":"output","message":"true","fig-cap":"","read-only":"false","editor-font-scale":"1"},"code":"\ntinyplot::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":{"comment":"","fig-height":"6","out-height":"500px","dpi":72,"label":"unnamed-chunk-7","warning":"true","autorun":"true","editor-quick-suggestions":"false","classes":"","editor-max-height":"","output":"true","results":"markup","fig-width":"6","out-width":"500px","context":"output","message":"true","fig-cap":"","read-only":"false","editor-font-scale":"1"},"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)"}];
395+
globalThis.qwebrCellDetails = [{"options":{"output":"true","editor-quick-suggestions":"false","out-height":"","fig-width":7,"autorun":"false","comment":"","editor-word-wrap":"true","read-only":"false","fig-height":5,"context":"interactive","editor-font-scale":"1","message":"true","classes":"","fig-cap":"","editor-max-height":"","warning":"true","label":"unnamed-chunk-1","out-width":"700px","results":"markup","dpi":72},"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","id":1},{"options":{"output":"true","editor-quick-suggestions":"false","out-height":"","fig-width":7,"autorun":"true","comment":"","editor-word-wrap":"true","read-only":"false","fig-height":5,"context":"setup","editor-font-scale":"1","message":"true","classes":"","fig-cap":"","editor-max-height":"","warning":"true","label":"unnamed-chunk-2","out-width":"700px","results":"markup","dpi":72},"code":" \n# Generating a simple table\ndata <- data.frame(\n Name = c(\"Alice\", \"Bob\", \"Charlie\"),\n Age = c(25, 30, 22)\n)","id":2},{"options":{"output":"true","editor-quick-suggestions":"false","out-height":"","fig-width":7,"autorun":"false","comment":"","editor-word-wrap":"true","read-only":"false","fig-height":5,"context":"interactive","editor-font-scale":"1","message":"true","classes":"","fig-cap":"","editor-max-height":"","warning":"true","label":"unnamed-chunk-3","out-width":"700px","results":"asis","dpi":72},"code":"knitr::kable(data, \"html\")","id":3},{"options":{"output":"true","editor-quick-suggestions":"false","out-height":"","fig-width":7,"autorun":"false","comment":"","editor-word-wrap":"true","read-only":"false","fig-height":5,"context":"interactive","editor-font-scale":"1","message":"true","classes":"","fig-cap":"","editor-max-height":"","warning":"true","label":"unnamed-chunk-4","out-width":"700px","results":"markup","dpi":72},"code":"knitr::kable(data, \"html\")","id":4},{"options":{"output":"true","editor-quick-suggestions":"false","out-height":"","fig-width":"6","autorun":"true","comment":"","editor-word-wrap":"true","read-only":"false","fig-height":"6","context":"output","editor-font-scale":"1","message":"true","classes":"","fig-cap":"","editor-max-height":"","warning":"true","label":"unnamed-chunk-5","out-width":"700px","results":"markup","dpi":72},"code":"\ntinyplot::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":{"output":"true","editor-quick-suggestions":"false","out-height":"","fig-width":7,"autorun":"true","comment":"","editor-word-wrap":"true","read-only":"false","fig-height":5,"context":"output","editor-font-scale":"1","message":"true","classes":"","fig-cap":"","editor-max-height":"","warning":"true","label":"unnamed-chunk-6","out-width":"700px","results":"markup","dpi":72},"code":"\ntinyplot::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":{"output":"true","editor-quick-suggestions":"false","out-height":"500px","fig-width":"6","autorun":"true","comment":"","editor-word-wrap":"true","read-only":"false","fig-height":"6","context":"output","editor-font-scale":"1","message":"true","classes":"","fig-cap":"","editor-max-height":"","warning":"true","label":"unnamed-chunk-7","out-width":"500px","results":"markup","dpi":72},"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}];
396396

397397
</script>
398398
<script type="module">
@@ -1934,7 +1934,8 @@ <h2 id="toc-title">On this page</h2>
19341934
renderLineHighlight: "none", // Disable current line highlighting
19351935
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
19361936
readOnly: qwebrOptions['read-only'] ?? false,
1937-
quickSuggestions: qwebrOptions['editor-quick-suggestions'] ?? false
1937+
quickSuggestions: qwebrOptions['editor-quick-suggestions'] ?? false,
1938+
wordWrap: (qwebrOptions['editor-word-wrap'] == 'true' ? "on" : "off")
19381939
});
19391940

19401941
// Store the official counter ID to be used in keyboard shortcuts

demos/qwebr-custom-repository.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
};
393393

394394
// Store cell data
395-
globalThis.qwebrCellDetails = [{"code":"# Check to see if the function works\ndemorwasmbinary::in_webr()\n\n# View help documentation\n?demorwasmbinary::in_webr","options":{"read-only":"false","context":"interactive","editor-quick-suggestions":"false","classes":"","fig-cap":"","dpi":72,"editor-font-scale":"1","autorun":"false","fig-width":7,"out-width":"700px","results":"markup","label":"unnamed-chunk-1","message":"true","output":"true","comment":"","warning":"true","out-height":"","editor-max-height":"","fig-height":5},"id":1}];
395+
globalThis.qwebrCellDetails = [{"code":"# Check to see if the function works\ndemorwasmbinary::in_webr()\n\n# View help documentation\n?demorwasmbinary::in_webr","id":1,"options":{"fig-width":7,"editor-word-wrap":"true","message":"true","classes":"","output":"true","comment":"","read-only":"false","autorun":"false","context":"interactive","warning":"true","label":"unnamed-chunk-1","fig-height":5,"dpi":72,"editor-max-height":"","fig-cap":"","results":"markup","out-width":"700px","out-height":"","editor-font-scale":"1","editor-quick-suggestions":"false"}}];
396396

397397
</script>
398398
<script type="module">
@@ -1932,7 +1932,8 @@ <h2 id="toc-title">On this page</h2>
19321932
renderLineHighlight: "none", // Disable current line highlighting
19331933
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
19341934
readOnly: qwebrOptions['read-only'] ?? false,
1935-
quickSuggestions: qwebrOptions['editor-quick-suggestions'] ?? false
1935+
quickSuggestions: qwebrOptions['editor-quick-suggestions'] ?? false,
1936+
wordWrap: (qwebrOptions['editor-word-wrap'] == 'true' ? "on" : "off")
19361937
});
19371938

19381939
// Store the official counter ID to be used in keyboard shortcuts

demos/qwebr-editor-options.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
};
393393

394394
// Store cell data
395-
globalThis.qwebrCellDetails = [{"id":1,"options":{"editor-font-scale":"1","results":"markup","dpi":72,"context":"interactive","classes":"","editor-quick-suggestions":"false","message":"true","out-height":"","read-only":"false","comment":"","out-width":"700px","warning":"true","output":"true","label":"unnamed-chunk-1","fig-cap":"","editor-max-height":"","fig-width":7,"fig-height":5,"autorun":"true"},"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)"},{"id":2,"options":{"editor-font-scale":"0.5","results":"markup","dpi":72,"context":"interactive","classes":"","editor-quick-suggestions":"false","message":"true","out-height":"","read-only":"false","comment":"","out-width":"700px","warning":"true","output":"true","label":"unnamed-chunk-2","fig-cap":"","editor-max-height":"","fig-width":7,"fig-height":5,"autorun":"true"},"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)"},{"id":3,"options":{"editor-font-scale":"2","results":"markup","dpi":72,"context":"interactive","classes":"","editor-quick-suggestions":"false","message":"true","out-height":"","read-only":"false","comment":"","out-width":"700px","warning":"true","output":"true","label":"unnamed-chunk-3","fig-cap":"","editor-max-height":"","fig-width":7,"fig-height":5,"autorun":"true"},"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)"},{"id":4,"options":{"editor-font-scale":"0.95","results":"markup","dpi":72,"context":"interactive","classes":"","editor-quick-suggestions":"false","message":"true","out-height":"","read-only":"false","comment":"","out-width":"700px","warning":"true","output":"true","label":"unnamed-chunk-4","fig-cap":"","editor-max-height":"","fig-width":7,"fig-height":5,"autorun":"true"},"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)"}];
395+
globalThis.qwebrCellDetails = [{"id":1,"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","options":{"results":"markup","read-only":"false","editor-word-wrap":"true","editor-font-scale":"1","editor-quick-suggestions":"false","context":"interactive","fig-height":5,"fig-width":7,"label":"unnamed-chunk-1","classes":"","out-width":"700px","output":"true","comment":"","warning":"true","message":"true","dpi":72,"fig-cap":"","autorun":"true","editor-max-height":"","out-height":""}},{"id":2,"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","options":{"results":"markup","read-only":"false","editor-word-wrap":"true","editor-font-scale":"0.5","editor-quick-suggestions":"false","context":"interactive","fig-height":5,"fig-width":7,"label":"unnamed-chunk-2","classes":"","out-width":"700px","output":"true","comment":"","warning":"true","message":"true","dpi":72,"fig-cap":"","autorun":"true","editor-max-height":"","out-height":""}},{"id":3,"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","options":{"results":"markup","read-only":"false","editor-word-wrap":"true","editor-font-scale":"2","editor-quick-suggestions":"false","context":"interactive","fig-height":5,"fig-width":7,"label":"unnamed-chunk-3","classes":"","out-width":"700px","output":"true","comment":"","warning":"true","message":"true","dpi":72,"fig-cap":"","autorun":"true","editor-max-height":"","out-height":""}},{"id":4,"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","options":{"results":"markup","read-only":"false","editor-word-wrap":"true","editor-font-scale":"0.95","editor-quick-suggestions":"false","context":"interactive","fig-height":5,"fig-width":7,"label":"unnamed-chunk-4","classes":"","out-width":"700px","output":"true","comment":"","warning":"true","message":"true","dpi":72,"fig-cap":"","autorun":"true","editor-max-height":"","out-height":""}}];
396396

397397
</script>
398398
<script type="module">
@@ -1937,7 +1937,8 @@ <h2 id="toc-title">On this page</h2>
19371937
renderLineHighlight: "none", // Disable current line highlighting
19381938
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
19391939
readOnly: qwebrOptions['read-only'] ?? false,
1940-
quickSuggestions: qwebrOptions['editor-quick-suggestions'] ?? false
1940+
quickSuggestions: qwebrOptions['editor-quick-suggestions'] ?? false,
1941+
wordWrap: (qwebrOptions['editor-word-wrap'] == 'true' ? "on" : "off")
19411942
});
19421943

19431944
// Store the official counter ID to be used in keyboard shortcuts

0 commit comments

Comments
 (0)