Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1381e37 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Feb 4, 2024
1 parent 26c342d commit a1aeb10
Show file tree
Hide file tree
Showing 63 changed files with 204 additions and 324 deletions.
11 changes: 4 additions & 7 deletions demos/qwebr-code-cell-options.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.7">
<meta name="generator" content="quarto-1.5.8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -275,7 +275,7 @@
};

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

</script>
<script type="module">
Expand Down Expand Up @@ -1396,13 +1396,10 @@ <h2 id="toc-title">On this page</h2>

// Add a click event listener to the reset button
copyButton.onclick = function () {
// Ensure the editor is in focus
editor.focus();

// Retrieve data
// Retrieve current code data
const data = editor.getValue();

// Set the clipboard contents.
// Write code data onto the clipboard.
navigator.clipboard.writeText(data || "");
};

Expand Down
11 changes: 4 additions & 7 deletions demos/qwebr-custom-repository.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.7">
<meta name="generator" content="quarto-1.5.8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -275,7 +275,7 @@
};

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

</script>
<script type="module">
Expand Down Expand Up @@ -1394,13 +1394,10 @@ <h2 id="toc-title">On this page</h2>

// Add a click event listener to the reset button
copyButton.onclick = function () {
// Ensure the editor is in focus
editor.focus();

// Retrieve data
// Retrieve current code data
const data = editor.getValue();

// Set the clipboard contents.
// Write code data onto the clipboard.
navigator.clipboard.writeText(data || "");
};

Expand Down
2 changes: 1 addition & 1 deletion demos/qwebr-feature-demos.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.7">
<meta name="generator" content="quarto-1.5.8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down
11 changes: 4 additions & 7 deletions demos/qwebr-long-running-execution-interactive-locking.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.7">
<meta name="generator" content="quarto-1.5.8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -241,7 +241,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"code":"print(\"Hello {quarto-webr} world!\")\nSys.sleep(5) # Sleep for 5 seconds","options":{"message":"true","classes":"","comment":"","warning":"true","output":"true","label":"unnamed-chunk-1","results":"markup","fig-height":5,"context":"interactive","out-height":"","out-width":"700px","fig-cap":"","dpi":72,"fig-width":7},"id":1},{"code":"-3 + 5\nSys.sleep(5) # Sleep for 5 seconds","options":{"message":"true","classes":"","comment":"","warning":"true","output":"true","label":"unnamed-chunk-2","results":"markup","fig-height":5,"context":"interactive","out-height":"","out-width":"700px","fig-cap":"","dpi":72,"fig-width":7},"id":2},{"code":"?mean\nSys.sleep(5) # Sleep for 5 seconds","options":{"message":"true","classes":"","comment":"","warning":"true","output":"true","label":"unnamed-chunk-3","results":"markup","fig-height":5,"context":"interactive","out-height":"","out-width":"700px","fig-cap":"","dpi":72,"fig-width":7},"id":3}];
globalThis.qwebrCellDetails = [{"code":"print(\"Hello {quarto-webr} world!\")\nSys.sleep(5) # Sleep for 5 seconds","options":{"classes":"","context":"interactive","results":"markup","label":"unnamed-chunk-1","out-width":"700px","comment":"","warning":"true","fig-width":7,"fig-height":5,"fig-cap":"","message":"true","out-height":"","output":"true","dpi":72},"id":1},{"code":"-3 + 5\nSys.sleep(5) # Sleep for 5 seconds","options":{"classes":"","context":"interactive","results":"markup","label":"unnamed-chunk-2","out-width":"700px","comment":"","warning":"true","fig-width":7,"fig-height":5,"fig-cap":"","message":"true","out-height":"","output":"true","dpi":72},"id":2},{"code":"?mean\nSys.sleep(5) # Sleep for 5 seconds","options":{"classes":"","context":"interactive","results":"markup","label":"unnamed-chunk-3","out-width":"700px","comment":"","warning":"true","fig-width":7,"fig-height":5,"fig-cap":"","message":"true","out-height":"","output":"true","dpi":72},"id":3}];

</script>
<script type="module">
Expand Down Expand Up @@ -1357,13 +1357,10 @@ <h2 id="toc-title">On this page</h2>

// Add a click event listener to the reset button
copyButton.onclick = function () {
// Ensure the editor is in focus
editor.focus();

// Retrieve data
// Retrieve current code data
const data = editor.getValue();

// Set the clipboard contents.
// Write code data onto the clipboard.
navigator.clipboard.writeText(data || "");
};

Expand Down
11 changes: 4 additions & 7 deletions demos/qwebr-non-interactive-areas.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.7">
<meta name="generator" content="quarto-1.5.8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -241,7 +241,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"id":1,"options":{"message":"true","context":"setup","fig-height":5,"out-height":"","label":"unnamed-chunk-1","out-width":"700px","fig-cap":"","output":"true","dpi":72,"warning":"true","classes":"","comment":"","results":"markup","fig-width":7},"code":"g <- ggplot(mtcars, aes(x = wt, y = mpg)) \n\nSys.sleep(0.5)"},{"id":2,"options":{"message":"true","context":"output","fig-height":5,"out-height":"","label":"unnamed-chunk-2","out-width":"700px","fig-cap":"","output":"true","dpi":72,"warning":"true","classes":"","comment":"","results":"markup","fig-width":7},"code":"g + geom_point()\n\nSys.sleep(0.5)"},{"id":3,"options":{"message":"true","context":"output","fig-height":5,"out-height":"","label":"unnamed-chunk-3","out-width":"700px","fig-cap":"","output":"true","dpi":72,"warning":"true","classes":"","comment":"","results":"markup","fig-width":7},"code":"g + geom_point(aes(colour = factor(cyl)))\nSys.sleep(0.5)"},{"id":4,"options":{"message":"true","context":"interactive","fig-height":5,"out-height":"","label":"unnamed-chunk-4","out-width":"700px","fig-cap":"","output":"true","dpi":72,"warning":"true","classes":"","comment":"","results":"markup","fig-width":7},"code":"g"}];
globalThis.qwebrCellDetails = [{"code":"g <- ggplot(mtcars, aes(x = wt, y = mpg)) \n\nSys.sleep(0.5)","id":1,"options":{"warning":"true","fig-height":5,"context":"setup","fig-width":7,"results":"markup","message":"true","comment":"","label":"unnamed-chunk-1","dpi":72,"output":"true","fig-cap":"","out-height":"","classes":"","out-width":"700px"}},{"code":"g + geom_point()\n\nSys.sleep(0.5)","id":2,"options":{"warning":"true","fig-height":5,"context":"output","fig-width":7,"results":"markup","message":"true","comment":"","label":"unnamed-chunk-2","dpi":72,"output":"true","fig-cap":"","out-height":"","classes":"","out-width":"700px"}},{"code":"g + geom_point(aes(colour = factor(cyl)))\nSys.sleep(0.5)","id":3,"options":{"warning":"true","fig-height":5,"context":"output","fig-width":7,"results":"markup","message":"true","comment":"","label":"unnamed-chunk-3","dpi":72,"output":"true","fig-cap":"","out-height":"","classes":"","out-width":"700px"}},{"code":"g","id":4,"options":{"warning":"true","fig-height":5,"context":"interactive","fig-width":7,"results":"markup","message":"true","comment":"","label":"unnamed-chunk-4","dpi":72,"output":"true","fig-cap":"","out-height":"","classes":"","out-width":"700px"}}];

</script>
<script type="module">
Expand Down Expand Up @@ -1359,13 +1359,10 @@ <h2 id="toc-title">On this page</h2>

// Add a click event listener to the reset button
copyButton.onclick = function () {
// Ensure the editor is in focus
editor.focus();

// Retrieve data
// Retrieve current code data
const data = editor.getValue();

// Set the clipboard contents.
// Write code data onto the clipboard.
navigator.clipboard.writeText(data || "");
};

Expand Down
11 changes: 4 additions & 7 deletions demos/qwebr-setting-options-in-document-yaml.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.7">
<meta name="generator" content="quarto-1.5.8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -241,7 +241,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"code":"library(\"ggplot2\")\n\nggplot()","id":1,"options":{"label":"unnamed-chunk-1","out-height":"","warning":"true","output":"true","message":"true","context":"interactive","results":"markup","dpi":72,"comment":"","classes":"","fig-width":7,"fig-cap":"","out-width":"700px","fig-height":5}}];
globalThis.qwebrCellDetails = [{"id":1,"options":{"context":"interactive","fig-width":7,"output":"true","fig-cap":"","message":"true","warning":"true","classes":"","label":"unnamed-chunk-1","out-height":"","dpi":72,"results":"markup","out-width":"700px","comment":"","fig-height":5},"code":"library(\"ggplot2\")\n\nggplot()"}];

</script>
<script type="module">
Expand Down Expand Up @@ -1355,13 +1355,10 @@ <h2 id="toc-title">On this page</h2>

// Add a click event listener to the reset button
copyButton.onclick = function () {
// Ensure the editor is in focus
editor.focus();

// Retrieve data
// Retrieve current code data
const data = editor.getValue();

// Set the clipboard contents.
// Write code data onto the clipboard.
navigator.clipboard.writeText(data || "");
};

Expand Down
4 changes: 2 additions & 2 deletions examples/blog/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.7">
<meta name="generator" content="quarto-1.5.8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -114,7 +114,7 @@
<!-- margin-sidebar -->

<!-- main -->
<div class="quarto-about-jolla content">
<div class="quarto-about-jolla">
<img src="profile.jpg" class="about-image
round " style="height: 15em; width: 15em;">
<header id="title-block-header" class="quarto-title-block default">
Expand Down
6 changes: 3 additions & 3 deletions examples/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.7">
<meta name="generator" content="quarto-1.5.8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -205,7 +205,7 @@ <h5 class="quarto-listing-category-title">Categories</h5><div class="quarto-list

<div class="quarto-listing quarto-listing-container-default" id="listing-listing">
<div class="list quarto-listing-default">
<div class="quarto-post image-right" data-index="0" data-categories="news,code,analysis" data-listing-date-sort="1699833600000" data-listing-file-modified-sort="1706953534160" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="125">
<div class="quarto-post image-right" data-index="0" data-categories="news,code,analysis" data-listing-date-sort="1699833600000" data-listing-file-modified-sort="1707030825515" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="125">
<div class="thumbnail">
<p><a href="./posts/embed-slides/index.html" class="no-external"></a></p><a href="./posts/embed-slides/index.html" class="no-external">
<p><img src="./posts/embed-slides/image.jpg" class="thumbnail-image"></p>
Expand Down Expand Up @@ -244,7 +244,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="1" data-categories="news,code,analysis" data-listing-date-sort="1699747200000" data-listing-file-modified-sort="1706953534160" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="41">
<div class="quarto-post image-right" data-index="1" data-categories="news,code,analysis" data-listing-date-sort="1699747200000" data-listing-file-modified-sort="1707030825515" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="41">
<div class="thumbnail">
<p><a href="./posts/post-with-code/index.html" class="no-external"></a></p><a href="./posts/post-with-code/index.html" class="no-external">
<p><img src="./posts/post-with-code/image.jpg" class="thumbnail-image"></p>
Expand Down
2 changes: 1 addition & 1 deletion examples/blog/posts/embed-slides/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.7">
<meta name="generator" content="quarto-1.5.8">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down
Loading

0 comments on commit a1aeb10

Please sign in to comment.