nfdi4plants/nfdi4plants.knowledgebase

[Enhancement] Use yaml only with indentation

Closed this issue · 4 comments

In the teaching materials section, a yaml header is used.
The part for authors looks as below nicely grouping name, orcid and github.

author:

  • name: XYZ
    orcid: xyz-orcid
    github: xyz-github

Suggestion: Remove the dash. I only know and see yaml headers only with indentation - without the dash.

author:
name: XYZ
orcid: xyz-orcid
github: xyz-github

author:
name: XYZ
orcid: xyz-orcid
github: xyz-github

This would not allow to properly add multiple authors

The alternative is json syntax as originally intended for the knowledge base.

author: {name: Martin D'vloper, github: https://github.com/exampleUrl, orcid: 0000-0000-0000-0000}

Or like this:

author:

  • [name, github, orcid]: [Martin D'vloper, https://github.com/exampleUrl, 0000-0000-0000-0000]

Would be maybe a good idea to specify the YAML version used.
Thanks, it is solved for now.