From 304830facb3dd0500ef03318fdce5f68da6d6ecc Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Thu, 11 Apr 2024 09:40:27 +0900 Subject: [PATCH 1/3] fix(as_paragraph_md): flextable's seq_index is renamed to .chunk_index (fixes #103) --- R/as-paragraph-md.R | 2 +- R/footnote.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() } From 79efbe76674c9280de14b9e9d73bee67a789b47e Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Thu, 11 Apr 2024 09:43:18 +0900 Subject: [PATCH 2/3] docs(NEWS): flextable's seq_index is renamed to .chunk_index (fixes #103) --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) 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) From 0eb23c1b128b049210b4535643a378410170fbfe Mon Sep 17 00:00:00 2001 From: atusy <30277794+atusy@users.noreply.github.com> Date: Fri, 12 Apr 2024 11:47:20 +0900 Subject: [PATCH 3/3] chore(pkgdown): build_site() --- docs/articles/format_columns.html | 204 +++++----- docs/articles/group-rows.html | 456 +++++++++++------------ docs/articles/transform-headers.html | 170 ++++----- docs/news/index.html | 6 +- docs/pkgdown.yml | 2 +- docs/reference/as_flextable_methods.html | 10 +- docs/reference/as_paragraph_md.html | 2 +- docs/reference/colformat_md.html | 2 +- docs/reference/footnote_options.html | 2 +- docs/reference/span_header.html | 2 +- docs/reference/split_header.html | 2 +- docs/reference/with_blanks.html | 2 +- 12 files changed, 432 insertions(+), 428 deletions(-) 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 @@