Substituting BibTeX parsers
let Cite = require('citation-js@0.4.0-9')
let {parse} = require('astrocite-bibtex')
Cite.plugins.input.addDataParser('@bibtex/text', {parser: parse})
Cite(`
@string { foo = "Mrs. Foo" }
@manual{article,
author = {Test Name},
title = foo # "The title of the work",
journal = {The name of the journal},
address = {Address},
year = 1993,
number = 2,
pages = {201-213},
month = 7,
note = {An optional note},
volume = 4
}
`).data
no comments