Skip to content

Commit

Permalink
fix(as_paragraph_md): flextable's seq_index is renamed to .chunk_index
Browse files Browse the repository at this point in the history
  • Loading branch information
atusy committed Apr 11, 2024
1 parent 728be8b commit 5cd2dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 5cd2dc3

Please sign in to comment.