Sha256: e7a8bf1728b7bd6a2993570fdff08abbd290b1b3bcd6c895332623d7e53bfb94
Contents?: true
Size: 362 Bytes
Versions: 146
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true module Bolognese 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
146 entries across 146 versions & 1 rubygems