Zotero MDNotes Guide
A skill for exporting Zotero items, annotations, and notes to structured Markdown files for use in knowledge management systems like Obsidian, Logseq, or plain Markdown workflows. Based on zotero-mdnotes (1K stars), this skill creates a bridge between your reference library and your personal knowledge base.
Overview
Zotero is excellent for managing references and reading PDFs, but its note-taking capabilities are limited compared to dedicated knowledge management tools. MDNotes solves this by exporting Zotero data to Markdown files that can be used in any Markdown-compatible system. Each exported file contains bibliographic metadata, your annotations, and your notes in a structured, interlinked format.
This approach gives researchers the best of both worlds: Zotero's powerful reference management with the flexibility and interconnection capabilities of Markdown-based knowledge systems.
Configuration
Template System
- MDNotes uses Nunjucks-based templates to control the output format
- Default templates produce well-structured Markdown with YAML frontmatter
- Templates can be customized to match your preferred note structure
- Separate templates exist for item metadata, annotations, and combined notes
- Template variables provide access to all Zotero metadata fields
Key Configuration Options
- Output directory: where exported Markdown files are saved
- File naming convention: citation key, title, or custom pattern
- Frontmatter fields: which metadata fields to include in YAML header
- Annotation grouping: by color, type, page, or section
- Link format: wiki-links, Markdown links, or plain text references
Frontmatter Configuration
- Title, authors, year, journal, DOI are standard frontmatter fields
- Tags from Zotero are converted to note tags
- Custom fields can be added (read status, rating, project association)
- Zotero item key is included for bidirectional linking
- Date fields use ISO 8601 format for consistent sorting
Export Workflows
Single Item Export
- Right-click a Zotero item and select the MDNotes export option
- Choose between metadata only, annotations only, or combined export
- The plugin generates the Markdown file in the configured output directory
- If a file with the same name exists, choose to overwrite or create a new version
- The exported file opens automatically in the configured editor (optional)
Batch Export
- Select multiple items or an entire collection in Zotero
- Apply export to the full selection
- Each item generates its own Markdown file
- A summary index file can optionally be generated listing all exported items
- Batch exports respect the same templates and configuration as single exports
Annotation Export
- PDF highlights are exported with their color, page number, and surrounding text
- Comments attached to highlights are included as sub-items
- Free-text notes from the Zotero note editor are exported as separate sections
- Annotations are grouped according to the configured strategy (color, page, etc.)
- Each annotation includes a link back to the specific PDF location in Zotero
Template Customization
Metadata Template
- Controls the structure of the bibliographic information section
- Standard fields: title, authors, year, journal, volume, pages, DOI, URL
- Extended fields: abstract, keywords, collection path, date added
- Custom fields: any Zotero extra field data
- The template determines the order and formatting of each field
Annotation Template
- Controls how individual annotations are formatted
- Color mapping: assign semantic meaning to highlight colors (yellow for key findings, blue for methodology, etc.)
- Include or exclude the page number, annotation date, and comment
- Format as blockquotes, bullet points, or plain text
- Group by color to create thematic sections automatically
Combined Template
- Merges metadata and annotations into a single cohesive note
- Includes section headings for clear structure
- Adds a personal notes section at the bottom for your own synthesis
- Includes a placeholder for connections to other notes
- Provides a reading status field for tracking progress
Knowledge Management Integration
Obsidian Integration
- Export to the Obsidian vault's literature notes folder
- Use wiki-link format for interoperability with Obsidian's linking system
- Tags are formatted as Obsidian-compatible hashtags
- Dataview-compatible frontmatter enables dynamic queries
- Graph view shows connections between literature notes and your other notes
Logseq Integration
- Export in Logseq-compatible Markdown format
- Use page references for linking between notes
- Properties block replaces YAML frontmatter for Logseq compatibility
- Block-level references are supported for granular linking
- Journal page references connect reading dates to daily notes
Plain Markdown Workflows
- Export to any directory for use with any Markdown editor
- Standard Markdown formatting ensures compatibility
- Frontmatter follows common conventions for static site generators
- Links use standard Markdown link syntax for maximum portability
- Files are self-contained with no external dependencies
Advanced Usage
Selective Field Export
- Configure which Zotero fields are exported to reduce noise
- Create focused templates for different project needs
- Academic fields: include abstract, methodology tags, dataset references
- Reading group fields: include discussion questions, presenter notes
- Writing project fields: include relevance score, key quotes, argument position
Incremental Updates
- Re-export items after adding new annotations
- The plugin can append new annotations or regenerate the full file
- Track changes between exports using version control
- Maintain a changelog of reading progress through dated annotations
- Sync exported files across devices using standard file sync tools
Custom Post-Processing
- Apply regex transformations to exported files
- Add custom metadata computed from Zotero fields
- Generate index files grouping exports by tag, year, or author
- Create citation graph files from the exported reference data
- Format exports for specific publishing pipelines
Integration with Research-Claw
This skill connects with the Research-Claw knowledge management workflow:
- Export Zotero annotations as the first step in building literature reviews
- Feed exported notes to synthesis and writing skills
- Connect with other citation skills for a complete reference workflow
- Use exported metadata for bibliometric analysis
- Store exported notes in the Research-Claw knowledge base for agent access
Best Practices
- Establish your template before exporting in bulk to avoid reformatting later
- Use a consistent color scheme for annotations across all papers
- Export promptly after reading to capture your fresh understanding
- Include a personal synthesis section in each literature note beyond just annotations
- Use tags consistently to enable useful filtering and grouping
- Back up both Zotero and the exported notes directory regularly
1---2name: zotero-mdnotes-guide3description: Export Zotero items and annotations to Markdown note files4---56# Zotero MDNotes Guide78A skill for exporting Zotero items, annotations, and notes to structured Markdown files for use in knowledge management systems like Obsidian, Logseq, or plain Markdown workflows. Based on zotero-mdnotes (1K stars), this skill creates a bridge between your reference library and your personal knowledge base.910## Overview1112Zotero is excellent for managing references and reading PDFs, but its note-taking capabilities are limited compared to dedicated knowledge management tools. MDNotes solves this by exporting Zotero data to Markdown files that can be used in any Markdown-compatible system. Each exported file contains bibliographic metadata, your annotations, and your notes in a structured, interlinked format.1314This approach gives researchers the best of both worlds: Zotero's powerful reference management with the flexibility and interconnection capabilities of Markdown-based knowledge systems.1516## Configuration1718**Template System**19- MDNotes uses Nunjucks-based templates to control the output format20- Default templates produce well-structured Markdown with YAML frontmatter21- Templates can be customized to match your preferred note structure22- Separate templates exist for item metadata, annotations, and combined notes23- Template variables provide access to all Zotero metadata fields2425**Key Configuration Options**26- Output directory: where exported Markdown files are saved27- File naming convention: citation key, title, or custom pattern28- Frontmatter fields: which metadata fields to include in YAML header29- Annotation grouping: by color, type, page, or section30- Link format: wiki-links, Markdown links, or plain text references3132**Frontmatter Configuration**33- Title, authors, year, journal, DOI are standard frontmatter fields34- Tags from Zotero are converted to note tags35- Custom fields can be added (read status, rating, project association)36- Zotero item key is included for bidirectional linking37- Date fields use ISO 8601 format for consistent sorting3839## Export Workflows4041**Single Item Export**42- Right-click a Zotero item and select the MDNotes export option43- Choose between metadata only, annotations only, or combined export44- The plugin generates the Markdown file in the configured output directory45- If a file with the same name exists, choose to overwrite or create a new version46- The exported file opens automatically in the configured editor (optional)4748**Batch Export**49- Select multiple items or an entire collection in Zotero50- Apply export to the full selection51- Each item generates its own Markdown file52- A summary index file can optionally be generated listing all exported items53- Batch exports respect the same templates and configuration as single exports5455**Annotation Export**56- PDF highlights are exported with their color, page number, and surrounding text57- Comments attached to highlights are included as sub-items58- Free-text notes from the Zotero note editor are exported as separate sections59- Annotations are grouped according to the configured strategy (color, page, etc.)60- Each annotation includes a link back to the specific PDF location in Zotero6162## Template Customization6364**Metadata Template**65- Controls the structure of the bibliographic information section66- Standard fields: title, authors, year, journal, volume, pages, DOI, URL67- Extended fields: abstract, keywords, collection path, date added68- Custom fields: any Zotero extra field data69- The template determines the order and formatting of each field7071**Annotation Template**72- Controls how individual annotations are formatted73- Color mapping: assign semantic meaning to highlight colors (yellow for key findings, blue for methodology, etc.)74- Include or exclude the page number, annotation date, and comment75- Format as blockquotes, bullet points, or plain text76- Group by color to create thematic sections automatically7778**Combined Template**79- Merges metadata and annotations into a single cohesive note80- Includes section headings for clear structure81- Adds a personal notes section at the bottom for your own synthesis82- Includes a placeholder for connections to other notes83- Provides a reading status field for tracking progress8485## Knowledge Management Integration8687**Obsidian Integration**88- Export to the Obsidian vault's literature notes folder89- Use wiki-link format for interoperability with Obsidian's linking system90- Tags are formatted as Obsidian-compatible hashtags91- Dataview-compatible frontmatter enables dynamic queries92- Graph view shows connections between literature notes and your other notes9394**Logseq Integration**95- Export in Logseq-compatible Markdown format96- Use page references for linking between notes97- Properties block replaces YAML frontmatter for Logseq compatibility98- Block-level references are supported for granular linking99- Journal page references connect reading dates to daily notes100101**Plain Markdown Workflows**102- Export to any directory for use with any Markdown editor103- Standard Markdown formatting ensures compatibility104- Frontmatter follows common conventions for static site generators105- Links use standard Markdown link syntax for maximum portability106- Files are self-contained with no external dependencies107108## Advanced Usage109110**Selective Field Export**111- Configure which Zotero fields are exported to reduce noise112- Create focused templates for different project needs113- Academic fields: include abstract, methodology tags, dataset references114- Reading group fields: include discussion questions, presenter notes115- Writing project fields: include relevance score, key quotes, argument position116117**Incremental Updates**118- Re-export items after adding new annotations119- The plugin can append new annotations or regenerate the full file120- Track changes between exports using version control121- Maintain a changelog of reading progress through dated annotations122- Sync exported files across devices using standard file sync tools123124**Custom Post-Processing**125- Apply regex transformations to exported files126- Add custom metadata computed from Zotero fields127- Generate index files grouping exports by tag, year, or author128- Create citation graph files from the exported reference data129- Format exports for specific publishing pipelines130131## Integration with Research-Claw132133This skill connects with the Research-Claw knowledge management workflow:134135- Export Zotero annotations as the first step in building literature reviews136- Feed exported notes to synthesis and writing skills137- Connect with other citation skills for a complete reference workflow138- Use exported metadata for bibliometric analysis139- Store exported notes in the Research-Claw knowledge base for agent access140141## Best Practices142143- Establish your template before exporting in bulk to avoid reformatting later144- Use a consistent color scheme for annotations across all papers145- Export promptly after reading to capture your fresh understanding146- Include a personal synthesis section in each literature note beyond just annotations147- Use tags consistently to enable useful filtering and grouping148- Back up both Zotero and the exported notes directory regularly