rehype-citation
Version:
rehype plugin to add citation and bibliography from bibtex files
5 lines (4 loc) • 392 B
TypeScript
export function genCitation(citeproc: any, mode: Mode, entries: CiteItem[], citationIdRoot: string, citationId: number, citationPre: any[], options: Options, isComposite: boolean, citationFormat: import('./types').CitationFormat): [string, string];
export type CiteItem = import('./types').CiteItem;
export type Mode = import('./types').Mode;
export type Options = import('./types').Options;