Skip to content

Using Pandoc templates to generate CITATION.cff #4

Description

@rsdoiel

The codemeta2cff I wrote in Go presumes having to pick one interpretation of an ambiguous spec.

I've since originally writing codemeta2cff in Go I've switch to generating CITATION.cff and about.md from codemeta.json via a Pandoc templates. It is a much more flexible process. Instead of installing codemeta2cff I'd recommend installing Pandoc. Then you can use the templates from https://github.com/caltechlibrary/codemeta-pandoc-examples generate many types of files from the codemeta.json contents.

This General approach would allow you to generate the following easily

  • CITATION.cff
  • about.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions