GithubHelp home page GithubHelp logo

ben-dyer / gatsby-remark-bibliography Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ptigas/gatsby-remark-bibliography

0.0 0.0 0.0 15 KB

Add bibtex support for gatsby remark

License: MIT License

JavaScript 100.00%

gatsby-remark-bibliography's Introduction

gatsby-remark-bibliography

gatsby-remark-bibliography adds bibtex to gatsby. Inspired by and reused code from http://distill.pub.

bibtex

Usage

Add a bibliography tag inside your markdown e.g.

<bibliography>
@article{gregor2015draw,
    title={DRAW: A recurrent neural network for image generation},
    author={Gregor, Karol and Danihelka, Ivo and Graves, Alex and Rezende, Danilo Jimenez and Wierstra, Daan},
    journal={arXivreprint arXiv:1502.04623},
    year={2015},
    url={https://arxiv.org/pdf/1502.04623.pdf},
}
</bibliography>

and reference it using \cite{gregor2015draw}. This will get transformed to a citation [n] and a bibliography list at the place of bibliography tag.

MDX Usage

Unfortunatelly mdx doesn't like <bibliography> tags. Instead you should use @@bibliography. e.g:

@@bibliography@@
@article{goyal2019infobot,
  title={InfoBot: Transfer and Exploration via the Information Bottleneck},
  author={Goyal, Anirudh and Islam, Riashat and Strouse, Daniel and Ahmed, Zafarali and Botvinick, Matthew and Larochelle, Hugo and Levine, Sergey and Bengio, Yoshua},
  journal={arXiv preprint arXiv:1901.10902},
  year={2019}
}
@article{kottur2017natural,
  title={Natural Language Does Not Emerge Naturally in Multi-Agent Dialog},
  author={Kottur, Satwik and Moura, Jos{\'e} MF and Lee, Stefan and Batra, Dhruv},
  journal={arXiv preprint arXiv:1706.08502},
  year={2017}
}
@article{jaques2018intrinsic,
  title={Intrinsic social motivation via causal influence in multi-agent RL},
  author={Jaques, Natasha and Lazaridou, Angeliki and Hughes, Edward and Gulcehre, Caglar and Ortega, Pedro A and Strouse, DJ and Leibo, Joel Z and de Freitas, Nando},
  journal={arXiv preprint arXiv:1810.08647},
  year={2018}
}
@book{lewis1968convention,
  title={Convention: A philosophical study},
  author={Lewis, David},
  year={1968}
}
@@bibliography@@

Install

npm install --save gatsby-transformer-remark gatsby-remark-bibliography bibtex-parse-js

gatsby-remark-bibliography's People

Contributors

ptigas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.