From 1595e7ee957f67858425477c22e8c15a93f6901a Mon Sep 17 00:00:00 2001 From: Eli Holmes - NOAA Date: Thu, 15 Feb 2024 13:12:07 -0500 Subject: [PATCH] Update and rename Page1.Rmd to CB.Rmd --- CB.Rmd | 38 ++++++++++++++++++++++++++++++++++++++ Page1.Rmd | 28 ---------------------------- 2 files changed, 38 insertions(+), 28 deletions(-) create mode 100644 CB.Rmd delete mode 100644 Page1.Rmd diff --git a/CB.Rmd b/CB.Rmd new file mode 100644 index 0000000..791521b --- /dev/null +++ b/CB.Rmd @@ -0,0 +1,38 @@ +--- +title: FRAM +output: + distill::distill_article: + self_contained: false + toc: true + toc_depth: 3 +--- + +```{r setup, include=FALSE} +knitr::opts_chunk$set(echo = FALSE) +``` + +```{css} +d-title { + display: none; + } +``` + +# Header 1 + +Here the title and description is removed by passing special css for this page to create a tighter layout. + +## Page with toc + +You can add a table of contents to your pages. This will be taken from your headers. + +### The yaml + +``` +output: + distill::distill_article: + self_contained: false + toc: true + toc_depth: 3 +``` + +# Another top header diff --git a/Page1.Rmd b/Page1.Rmd deleted file mode 100644 index 3663642..0000000 --- a/Page1.Rmd +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: "Simple Page" -output: - distill::distill_article: - self_contained: false ---- - -```{r setup, include=FALSE} -knitr::opts_chunk$set(echo = FALSE) -``` - -## Basic - -This is a basic page with no table of contents. You specify this type of page with - -``` -output: - distill::distill_article: - self_contained: false -``` - -## R code - -Because this uses RMarkdown. You can have R code. - -```{r echo=FALSE} -plot(1,1) -``` \ No newline at end of file