colformat_mdsupports multiple paragraphs by collapsing them with a separator given to the
.separgument (default: `“\n\n”) (#43).
colformat_mdcan now automatically add citations to reference on R Markdown (#48).
colformat_mdcan now contain cells with multiple footnotes. In addition, footnote keys are placed exactly the same place of source. The previous implementation moved the keys to the end of corresponding cells (#51).
as_paragraph_mdsupports variety of input formats by checking enabled extensions (#54).
colformat_md(pandoc_args = c("--bibliography", "example.bib"))should work even if bibliography field is missing from the YAML front matter (#41).
colformat_mdconverts cells to Pandoc’s AST by a single call of Pandoc. Previously it called pandoc for each cell. This change improves performance around 15X faster (#46). Note that #46 broken support for some input formats (e.g., commonmark) and old Pandoc (< 2.0.6), but the regression is already fixed (#53, #57).
flextable::chunk_dataframe()in order to avoid potential problems if the flextable package changes the chunk structure in the future (#56, thanks @davidgohel).
math.luarequires Pandoc >= 2.7.3 (#35)
colformat_md. Currently, one footnote per a cell is allowed, and it must be located at the end of the cell content (#22).
footnote_options()to configure options for footnotes (#23).
colformat_md(part = "header")(#23).
.underlineclass and the
r-patched-solaris-x86fails because of missing pandoc.
colformat_md(as_flextable(data.frame('a\\\nb', stringsAsFactors = FALSE)))).
as_paragraph_mdwhich parses markdown texts on selected cells rather than selected columns. Use this function within
colformat_md()which parses markdown text in the body of the flextable object.
separate_header()which separates header into multiple rows based on regular expression.
span_header()which separates header into multiple rows based on regular expression, and spans them if the adjacent values share the same value.
with_blanks()which inserts blank columns based on the semantics of
as_flextable.data.frameto convert data frames to flextable.
as_flextable.grouped_dfto convert grouped data frames to flextable.