diff --git a/NEWS.md b/NEWS.md index 6d0c43a..2f8e5f9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# ftExtra 0.6.4 + +* Fix broken markdown rendering from a change in **flextable** 0.9.5 (#103) + # ftExtra 0.6.3 * Require **flextable**>=0.9.5 to fix broken `colformat_md` (#101) diff --git a/R/as-paragraph-md.R b/R/as-paragraph-md.R index 951d848..f39e144 100644 --- a/R/as-paragraph-md.R +++ b/R/as-paragraph-md.R @@ -61,7 +61,7 @@ construct_chunk <- function(x, auto_color_link = "blue") { .data$color ), img_data = x$Image %||% list(NULL), - seq_index = dplyr::row_number() + .chunk_index = dplyr::row_number() ) } diff --git a/R/footnote.R b/R/footnote.R index 5ad3169..ff59509 100644 --- a/R/footnote.R +++ b/R/footnote.R @@ -133,7 +133,7 @@ collapse_footnotes <- function(value, sep) { value %>% lapply(dplyr::add_row, data.frame(txt = sep %||% "")) %>% dplyr::bind_rows() %>% - dplyr::mutate(seq_index = dplyr::row_number()) %>% + dplyr::mutate(.chunk_index = dplyr::row_number()) %>% list() } diff --git a/docs/articles/format_columns.html b/docs/articles/format_columns.html index 207c187..202405d 100644 --- a/docs/articles/format_columns.html +++ b/docs/articles/format_columns.html @@ -135,12 +135,12 @@