Bundle, analyze & export your PDF/MD attachments from Zotero
English | Portuguรชs
MdBundle is a Zotero plugin that manages the relationship between your PDFs and their Markdown counterparts. It exports matched PDF/MD pairs, diagnoses your library's attachment health, generates MDs from PDFs, and selects cited items directly from Word documents.
The key feature is intelligent pairing: MdBundle only considers a PDF and MD as a pair when they share the same base filename (e.g., Smith et al 2024.pdf โ Smith et al 2024.md).
Markdown versions of academic papers are essential for modern AI-assisted research workflows:
- LLM context: Feed your papers as MD directly into ChatGPT, Claude, Gemini, or local models for summarization, Q&A, and literature review
- RAG pipelines: Build Retrieval-Augmented Generation systems over your Zotero library using structured text
- Semantic search: MD files are lightweight and easily indexed, enabling fast full-text search across your entire corpus
- Interoperability: Works with Obsidian, Logseq, Notion, and other knowledge management tools
- Version control: Plain text diffs cleanly in Git, unlike PDFs
MdBundle pairs naturally with tools like pdftollm for high-quality PDFโMD conversion with OCR support, enabling a complete pipeline from Zotero to LLM-ready text.
| Feature | Description |
|---|---|
| Export | Export PDF/MD pairs to a folder (all, PDFs only, or MDs only) |
| Analyze | Diagnostic report: items with/without PDF, with/without matching MD, suspicious small MDs |
| Generate | Extract text from PDFs and create linked MD files automatically |
| Select from .docx | Read a Word document and select all cited items in your library |
| OCR tagging | Items with non-extractable PDFs are tagged needs-ocr for later processing |
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ Selected Items โโโโโโถโ MdBundle Plugin โโโโโโถโ Export Folder โ
โ (or .docx) โ โ โ โ PDF + MD pairs โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโ
โ Diagnostic & โ
โ MD Generation โ
โโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโ
โ Tagged items โ
โ "needs-ocr" โ
โโโโโโโโโโโโโโโโโโโโ
- Download
mdbundle.xpifrom Releases - In Zotero: Tools โ Add-ons โ โ๏ธ โ Install Add-on From File
- Select the
.xpifile
MdBundle...
โโโ Export All (PDF + MD)
โโโ Export PDFs only
โโโ Export MDs only
โโโ โโโโโโโโโโโโโ
โโโ Analyze items (diagnostic)
โโโ โโโโโโโโโโโโโ
โโโ Generate missing MDs (PDFโMD)
Tools โ Select cited items from .docx...
# 1. Open your Word article (.docx)
Tools โ "Select cited items from .docx..."
โ Select your .docx file
โ Items are automatically selected in Zotero
# 2. Analyze what you have
Right-click โ MdBundle โ Analyze items
โ See which items are missing PDF or MD
# 3. Generate missing MDs
Right-click โ MdBundle โ Generate missing MDs
โ MDs are created and linked; OCR-needed items are tagged
# 4. Export
Right-click โ MdBundle โ Export All
โ Choose destination folder
โ All PDF/MD pairs are copied thereMdBundle supports multiple languages:
| Language | Locale | Language | Locale |
|---|---|---|---|
| ๐บ๐ธ English | en-US | ๐ฏ๐ต ๆฅๆฌ่ช | ja-JP |
| ๐ง๐ท Portuguรชs | pt-BR | ๐ฐ๐ท ํ๊ตญ์ด | ko-KR |
| ๐ช๐ธ Espaรฑol | es-ES | ๐ท๐บ ะ ัััะบะธะน | ru-RU |
| ๐จ๐ณ ไธญๆ | zh-CN | ๐ต๐ฑ Polski | pl-PL |
| ๐ฎ๐น Italiano | it-IT | ๐น๐ท Tรผrkรงe | tr-TR |
| ๐ซ๐ท Franรงais | fr-FR | ๐ฉ๐ช Deutsch | de-DE |
Zotero automatically selects the language based on your settings. Unsupported locales fall back to English.
When MdBundle detects a PDF without extractable text (scanned/image-based):
- The item is tagged with
needs-ocr - You can filter by this tag later and process with your preferred OCR tool
cd src
zip -r ../mdbundle.xpi .| Project | Description |
|---|---|
| pdftollm | High-quality PDFโMD conversion with OCR support for LLM pipelines |
| Zotero Version | Status |
|---|---|
| 7.x | โ |
| 8.x | โ |
| 9.x | โ |
MdBundle รฉ um plugin para Zotero que gerencia a relaรงรฃo entre seus PDFs e seus equivalentes em Markdown. Exporta pares PDF/MD, diagnostica a saรบde dos anexos da sua biblioteca, gera MDs a partir de PDFs e seleciona itens citados diretamente de documentos Word.
Versรตes em Markdown de artigos acadรชmicos sรฃo essenciais para fluxos de trabalho modernos com IA:
- Contexto para LLMs: Alimente seus artigos como MD diretamente no ChatGPT, Claude, Gemini ou modelos locais para sumarizaรงรฃo, Q&A e revisรฃo de literatura
- Pipelines RAG: Construa sistemas de Geraรงรฃo Aumentada por Recuperaรงรฃo sobre sua biblioteca Zotero
- Busca semรขntica: Arquivos MD sรฃo leves e facilmente indexรกveis
- Interoperabilidade: Funciona com Obsidian, Logseq, Notion e outras ferramentas de gestรฃo do conhecimento
MdBundle combina naturalmente com ferramentas como pdftollm para conversรฃo PDFโMD de alta qualidade com suporte a OCR.
| Funcionalidade | Descriรงรฃo |
|---|---|
| Exportar | Exporta pares PDF/MD para uma pasta (tudo, sรณ PDFs ou sรณ MDs) |
| Analisar | Relatรณrio: itens com/sem PDF, com/sem MD correspondente, MDs suspeitos |
| Gerar | Extrai texto de PDFs e cria arquivos MD vinculados automaticamente |
| Selecionar do .docx | Lรช um documento Word e seleciona todos os itens citados na biblioteca |
| Tag OCR | Itens com PDFs sem texto extraรญvel sรฃo marcados com needs-ocr |
- Baixe
mdbundle.xpida pรกgina de Releases - No Zotero: Ferramentas โ Complementos โ โ๏ธ โ Instalar complemento a partir de arquivo
- Selecione o arquivo
.xpi
William Corrรชa Mendes
Diretor de Gestรฃo de TI โ IFMA ยท Coordenador do Observatรณrio de Egressos (SETEC/MEC) MSc. Engenharia Elรฉtrica / Ciรชncia da Computaรงรฃo โ UFMA ยท Doutorando โ Fucape Business School
Lattes | LinkedIn | GitHub | ORCID
If MdBundle is useful for your research, consider supporting its development:
- โญ Star this repository
- ๐ Report bugs or suggest features
- ๐ Contribute translations
- ๐ Submit a Pull Request
- ๐ GitHub Sponsors
- โ Buy Me a Coffee
- ๐ง๐ท PIX:
2ddcbe7b-e3f3-4502-ae29-c735beee9ed6
MIT