Sha256: c10c79d59e3a1b700425afbc3d2eae3edd9b7532d72ec2ba54a4b4e80cd31cee
Contents?: true
Size: 359 Bytes
Versions: 32
Compression:
Stored size: 359 Bytes
Contents
# frozen_string_literal: true module Briard module Writers module CitationWriter def citation cp = CiteProc::Processor.new(style: style, locale: locale, format: 'html') cp.import Array.wrap(citeproc_hsh) bibliography = cp.render :bibliography, id: normalize_doi(doi) bibliography.first end end end end
Version data entries
32 entries across 32 versions & 1 rubygems