LibreCat::Citation - creates citations via a CSL engine or template
use LibreCat::Citation;
my $data = {};
my $styles = LibreCat::Citation->new(all => 1)->create($data);
# or
LibreCat::Citation->new(style => 'apa')->creat($data);
# config/citation.yml
prefix:
_citation:
engine: {template|csl|none}
template:
template_path: views/citation.tt
csl:
url: 'http://localhost:8085'
default_style: chicago
styles:
- modern-language-association
- chicago
- ...