Skip to content

Commit

Permalink
Properly render author names using markdown template
Browse files Browse the repository at this point in the history
fixes #6068
  • Loading branch information
dragonstyle committed Dec 4, 2023
1 parent 236d3c3 commit d5105b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion news/changelog-1.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@
- Improved support for affiliation metadata, including `ringgold`, `isni`, `ror`
- Add support for `funding`, including support for simple strings or funding including `source`, `recipient`, and `investigator`. `source` and `recipient` may
-be one or more simple strings, `ref`s to an author or affiliation id, or an object following the `institution` schema.
- ([#5764](https://github.com/quarto-dev/quarto-cli/issues/6138)): Add support for affiliations to include a `group` property to represent the team or research group within the affiliation
- ([#5764](https://github.com/quarto-dev/quarto-cli/issues/5764)): Add support for affiliations to include a `group` property to represent the team or research group within the affiliation
- ([#6068](https://github.com/quarto-dev/quarto-cli/issues/6068)): Properly display author names in default commonmark and gfm output
- ([#6138](https://github.com/quarto-dev/quarto-cli/issues/6138)): Add support for `degrees` to specify academic titles or professional certifications displayed following a personal name (for example, "MD", "PhD").
- ([#6139](https://github.com/quarto-dev/quarto-cli/issues/6139)): For markdown output that will not include yaml front matter, still perform author normalization. When `yaml_metadata_block` is enabled (or for pandoc markdown) do not normalize author front matter since that will result in extraneous author keys.

Expand Down
4 changes: 1 addition & 3 deletions src/resources/pandoc/templates/default.markdown
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
$if(title)$
# $title$
$endif$
$if(author)$
$author$
$endif$
$for(by-author)$$it.name.literal$$sep$, $endfor$
$if(date)$
$date$
$endif$
Expand Down

0 comments on commit d5105b5

Please sign in to comment.