diff --git a/README.Rmd b/README.Rmd index 2c783c76..60e8d5a2 100644 --- a/README.Rmd +++ b/README.Rmd @@ -4,7 +4,7 @@ output: html_preview: false --- - + ```{r, include = FALSE} knitr::opts_chunk$set( @@ -25,6 +25,7 @@ clean_output <- function(x, options) { index <- x index <- gsub("─", "-", index) + index <- strsplit(paste(index, collapse = "\n"), "\n---\n")[[1]][[2]] writeLines(index, "index.md") x <- fansi::strip_sgr(x) diff --git a/README.md b/README.md index 6fc7bbd4..564da66b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ - + # duckplyr diff --git a/index.md b/index.md index 84d6bcc6..febcd0db 100644 --- a/index.md +++ b/index.md @@ -1,10 +1,5 @@ ---- -output: - github_document: - html_preview: false ---- - +