From 3e116c774670f4145b37baf24a481dedb7d89fd4 Mon Sep 17 00:00:00 2001 From: Joseph Tran <joseph.tran@inrae.fr> Date: Thu, 14 Mar 2024 10:08:11 +0100 Subject: [PATCH 1/2] remove typo --- index.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.qmd b/index.qmd index dc7212c..ccc7e7b 100644 --- a/index.qmd +++ b/index.qmd @@ -358,7 +358,7 @@ ui <- fluidPage(theme=shinytheme("flatly"), #| echo: fenced #| eval: false #| code-line-numbers: "16-27" -o# +# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # -- GitLab From 7d7c97f98df6b6a51f0f3dffd633246240a42063 Mon Sep 17 00:00:00 2001 From: Joseph Tran <joseph.tran@inrae.fr> Date: Thu, 14 Mar 2024 11:07:11 +0100 Subject: [PATCH 2/2] fix code width in column layout and add file name --- index.qmd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.qmd b/index.qmd index e893dd7..56960e6 100644 --- a/index.qmd +++ b/index.qmd @@ -399,10 +399,10 @@ server <- function(input, output, session){ ::: columns ::: {.column width="50%"} -```{r} +```{r filename="ui.R"} #| echo: fenced -#| code-line-numbers: "24-29|32" -#| output-location: column +#| eval: false +#| code-line-numbers: "24-29,32" # This is the user-interface definition of a Shiny web application. You change # run the application by clicking 'Run App' above. # @@ -439,10 +439,10 @@ ui <- fluidPage(theme=shinytheme("flatly"), ::: ::: {.column width="50%"} -```{r} +```{r filename="server.R"} #| echo: fenced +#| eval: false #| code-line-numbers: "18-26" -#| output-location: column # # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. -- GitLab