egh/zotxt

zotxt: a Zotero extension for text

380

stars

569

commits

JavaScript

primary language

Aug 11, 2026

updated

gitlab.com/egh/zotxt

README

zotxt: a Zotero extension for text

zotxt is a Zotero extension for supporting utilities that deal with plain text files (e.g., markdown, reStructuredText, latex, etc.)

Installation

  1. Visit https://github.com/egh/zotxt/releases
  2. Download the latest .xpi file. If you are using Firefox, you will need to right-click and "Save as"
  3. Start Zotero standalone.
  4. In Zotero, select Tools -> Add-ons -> Gear (upper right) -> Install Add-On from file, and install the downloaded xpi file.

pandoc integration

Please install the pandoc-zotxt.lua extension to pandoc as well as Better BibTeX, which provides excellent citation key management.

Using the citation keys provided by Better BibTeX in pandoc citation format, you can automatically connect pandoc to a running Zotero instance to generate citations. (An example of a pandoc citation is [@Doe2006] where Doe2006 is the citation key set by Better BibTex.)

For example:

pandoc -L pandoc-zotxt.lua -C file.md -t pdf -o file.pdf

emacs integration

See zotxt-emacs

Zotxt API

The Zotxt API is exposed via http://127.0.0.1:23119/zotxt/. To get an idea of what is possible, your best bet is probably to have a look at the test/test.rb file.

Contributors

egh

527 commits

dependabot[bot]

16 commits

odkr

14 commits

retorquere

4 commits

egh/zotxt

zotxt: a Zotero extension for text

380

stars

569

commits

JavaScript

primary language

Aug 11, 2026

updated

gitlab.com/egh/zotxt

README

zotxt: a Zotero extension for text

zotxt is a Zotero extension for supporting utilities that deal with plain text files (e.g., markdown, reStructuredText, latex, etc.)

Installation

  1. Visit https://github.com/egh/zotxt/releases
  2. Download the latest .xpi file. If you are using Firefox, you will need to right-click and "Save as"
  3. Start Zotero standalone.
  4. In Zotero, select Tools -> Add-ons -> Gear (upper right) -> Install Add-On from file, and install the downloaded xpi file.

pandoc integration

Please install the pandoc-zotxt.lua extension to pandoc as well as Better BibTeX, which provides excellent citation key management.

Using the citation keys provided by Better BibTeX in pandoc citation format, you can automatically connect pandoc to a running Zotero instance to generate citations. (An example of a pandoc citation is [@Doe2006] where Doe2006 is the citation key set by Better BibTex.)

For example:

pandoc -L pandoc-zotxt.lua -C file.md -t pdf -o file.pdf

emacs integration

See zotxt-emacs

Zotxt API

The Zotxt API is exposed via http://127.0.0.1:23119/zotxt/. To get an idea of what is possible, your best bet is probably to have a look at the test/test.rb file.

Contributors

egh

527 commits

dependabot[bot]

16 commits

odkr

14 commits

retorquere

4 commits

Languages

JavaScript

75.7%

Ruby

18.9%

Python

2.5%

PEG.js

2.3%