Skip to content

Commit af796b6

Browse files
committed
Adjust script docx->md
The report could not be knit if the text background color was not white in the docx file.
1 parent 8b011ec commit af796b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/R/habitatauteurs_from_docx.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ for (hoofdstuk in c("zilt", "kustduin", "water", "heide", "gras", "veen",
6565
str_replace_all("\\\\", "\\") %>% #otherwise, double backslash is printed in the md file
6666
str_replace_all("\\[", "[") %>%
6767
str_replace_all("\\]", "]") %>%
68+
str_replace_all("\\{.mark\\}", "") %>%
6869
writeLines(useBytes = TRUE,
6970
con = find_root_file("source/bookdown/habitatauteurs_paragrafen",
7071
sprintf("%s_%s.md",hoofdstuk,x),

0 commit comments

Comments
 (0)