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

amend #62: collapse string for multiple authors #63

Merged
merged 3 commits into from
Dec 16, 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
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ Type: Package
Title: A Lightweight Version of R Markdown
Version: 0.4.11
Authors@R: c(
person("Yihui", "Xie", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666", URL = "https://yihui.org")),
person()
)
person("Yihui", "Xie", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666", URL = "https://yihui.org")),
person("Tim", "Taylor", role = "ctb", comment = c(ORCID = "0000-0002-8587-7113")),
person()
)
Description: Render R Markdown to Markdown (without using 'knitr'), and Markdown
to lightweight HTML or 'LaTeX' documents with the 'commonmark' package (instead
of 'Pandoc'). Some missing Markdown features in 'commonmark' are also
Expand Down
2 changes: 1 addition & 1 deletion R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pkg_desc = function(name = detect_pkg()) {
names(d) = fields
# remove single quotes on words (which are unnecessary IMO)
for (i in c('Title', 'Description')) d[[i]] = sans_sq(d[[i]])
d[['Author']] = pkg_authors(d)
d[['Author']] = one_string(pkg_authors(d), ', ')
d[['Authors@R']] = NULL
# convert URLs to <a>, and escape HTML in other fields
for (i in names(d)) d[[i]] = if (!is.na(d[[i]])) {
Expand Down
5 changes: 5 additions & 0 deletions man/litedown-package.Rd

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

Loading