Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
agricolamz committed Nov 10, 2024
1 parent 1b3c315 commit aae4b66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/gloss_example.R
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,10 @@ gloss_example <- function(transliteration,
if(length(unique(splits_by_line)) > 1){
if (isTRUE(knitr::opts_knit$get('rmarkdown.pandoc.to') == "docx")) {
for(i in multiline_result) {
cat("```{=openxml}", gt::as_word(i), "```\n\n", sep = "\n")
cat("```{=openxml}",
gt::as_word(i, keep_with_next = FALSE),
"```\n <br> \n",
sep = "\n")
}
} else {
for(i in multiline_result) {print(i)}
Expand Down

0 comments on commit aae4b66

Please sign in to comment.