Skip to content

Commit

Permalink
pass along pandoc_args to rmarkdown::word_document() (rstudio#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr authored and yihui committed Dec 27, 2016
1 parent 3dd8d16 commit e793de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/word.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ word_document2 = function(fig_caption = TRUE, md_extensions = NULL, pandoc_args
from = from_rmarkdown(fig_caption, md_extensions)

config = rmarkdown::word_document(
fig_caption = fig_caption, md_extensions = md_extensions, ...
fig_caption = fig_caption, md_extensions = md_extensions, pandoc_args = pandoc_args, ...
)
pre = config$pre_processor
config$pre_processor = function(metadata, input_file, ...) {
Expand Down

0 comments on commit e793de7

Please sign in to comment.