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(export.markdown): export authors metadata field key as author #1319

Merged
merged 1 commit into from
Mar 25, 2024
Merged

fix(export.markdown): export authors metadata field key as author #1319

merged 1 commit into from
Mar 25, 2024

Conversation

ALVAROPING1
Copy link
Contributor

When pandoc reads the metadata block of a markdown file, it uses the author field to set the authors' names. Neorg, however, uses the authors field for this. This patch converts the key name during export so the data can be properly recognized on both cases

When pandoc reads the metadata block of a markdown file, it uses the `author`
field to set the authors' names. Neorg, however, uses the `authors` field for
this purpose. This patch converts the key name during export so the data can be
properly recognized on both cases
@vhyrro
Copy link
Member

vhyrro commented Mar 25, 2024

Thx!

@vhyrro vhyrro merged commit f30ce72 into nvim-neorg:main Mar 25, 2024
1 of 2 checks passed
@ALVAROPING1 ALVAROPING1 deleted the fix-export-authors branch March 25, 2024 15:47
sahinf pushed a commit to sahinf/neorg that referenced this pull request May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants