Public
Edited
Jul 10, 2023
Fork of Repeater
Importers
4 stars
Insert cell
Insert cell
Insert cell
Insert cell
cite = citationFactory(bibtex)
Insert cell
Insert cell
cite('kohonen1990self', 'elman1990finding')
Insert cell
These citations can be interpolated into a markdown cell ${cite('meyer1997computational')}.
Insert cell
<div>And they can be interpolated into an HTML cell ${cite('meyer1997theory')}.</div>
Insert cell
md`Which means they can also be interpolated into tagged template literals ${cite('cohen2005vulcanization', 'cohen2011time')}.`
Insert cell
If needed, you can tap into citeproc-js properties ${cite({id: 'kohonen1990self', prefix: 'e.g. '})} and flags, as not discussed by ${cite('elman1990finding', {mode: 'composite'})}.
Insert cell
Insert cell
cite.bibliography()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
cite2 = citationFactory(bibtex, {cslStyle: await fetchCslStyle(myStyle)})
Insert cell
Make a couple of citations ${cite2('kohonen1990self', 'elman1990finding')}. One more ${cite2('cohen2005vulcanization')}. And, one last one ${cite2('cohen2011time')}.
Insert cell
Insert cell
cite2.bibliography()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
citationFactory.fetchCslStyle = fetchCslStyle;
citationFactory.fetchCslLocale = fetchCslLocale;
}
Insert cell
styleApa = await fetchCslStyle('apa')
Insert cell
localeEnUs = await fetchCslLocale('en-US')
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more