Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Nov 30, 2023
1 parent 679384b commit 0d2e5ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/translate.R
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ fakify_xml <- function(nodes_list) {
#' )
#' }
deepl_translate_markdown_string <- function(markdown_string,
glossary_name = NULL,
source_lang,
target_lang,
formality = c("default", "more", "less", "prefer_more", "prefer_less")) {
glossary_name = NULL,
source_lang,
target_lang,
formality = c("default", "more", "less", "prefer_more", "prefer_less")) {
file <- withr::local_tempfile()
brio::write_lines(markdown_string, file)
deepl_translate(
Expand Down

0 comments on commit 0d2e5ad

Please sign in to comment.