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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more