We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b2036b commit 01493c6Copy full SHA for 01493c6
post-render.R
@@ -7,6 +7,9 @@ files <- stringr::str_remove(files, "_site/")
7
files <- paste0(files, ".md")
8
9
remove_double_newlines <- function(file) {
10
+ if (file == ".md") {
11
+ return(NULL)
12
+ }
13
txt <- readr::read_lines(file)
14
txt <- paste(txt, collapse = "\n")
15
txt <- stringr::str_replace_all(txt, "\n{2,}", "\n\n")
0 commit comments