Skip to content

Instantly share code, notes, and snippets.

@SimonGoring
Created May 26, 2020 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SimonGoring/1d1b1d0cd888c0885f74c88c2485f20f to your computer and use it in GitHub Desktop.
Save SimonGoring/1d1b1d0cd888c0885f74c88c2485f20f to your computer and use it in GitHub Desktop.
Losing Journal title?
@article{Goring2020Some,
publisher = {GitHub},
title = {Some Github Repo},
url = {https://github.com/SimonGoring/MadeUpRepo},
author = {Goring, Simon},
date = {2020},
year = {2020},
}
const Cite = require('citation-js')
var inCite = {
author: [{name:'Goring, Simon'}],
title: 'Some Github Repo',
id: '29763063',
url: 'https://github.com/SimonGoring/MadeUpRepo',
type: 'misc',
publisher: 'GitHub',
journal: 'Github Repository',
link: [ { url: 'https://github.com/SimonGoring/MadeUpRepo' } ],
year: 2020
}
let output = new Cite(inCite)
output.format('bibtex')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment