Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(as_paragraph_md): flextable's seq_index is renamed to .chunk_index (fixes #103) #104

Merged
merged 3 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion R/as-paragraph-md.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()
)
}

Expand Down
2 changes: 1 addition & 1 deletion R/footnote.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down
204 changes: 102 additions & 102 deletions docs/articles/format_columns.html

Large diffs are not rendered by default.

456 changes: 228 additions & 228 deletions docs/articles/group-rows.html

Large diffs are not rendered by default.

170 changes: 85 additions & 85 deletions docs/articles/transform-headers.html

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ articles:
format_columns: format_columns.html
group-rows: group-rows.html
transform-headers: transform-headers.html
last_built: 2024-03-31T14:41Z
last_built: 2024-04-11T00:43Z

10 changes: 5 additions & 5 deletions docs/reference/as_flextable_methods.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/reference/as_paragraph_md.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/colformat_md.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading