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---5
6# Zotero MDNotes Guide
7
8A 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.
9
10## Overview
11
12Zotero 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.
13
14This approach gives researchers the best of both worlds: Zotero's powerful reference management with the flexibility and interconnection capabilities of Markdown-based knowledge systems.
15
16## Configuration
17
18**Template System**
19- MDNotes uses Nunjucks-based templates to control the output format
20- Default templates produce well-structured Markdown with YAML frontmatter
21- Templates can be customized to match your preferred note structure
22- Separate templates exist for item metadata, annotations, and combined notes
23- Template variables provide access to all Zotero metadata fields
24
25**Key Configuration Options**
26- Output directory: where exported Markdown files are saved
27- File naming convention: citation key, title, or custom pattern
28- Frontmatter fields: which metadata fields to include in YAML header
29- Annotation grouping: by color, type, page, or section
30- Link format: wiki-links, Markdown links, or plain text references
31
32**Frontmatter Configuration**
33- Title, authors, year, journal, DOI are standard frontmatter fields
34- Tags from Zotero are converted to note tags
35- Custom fields can be added (read status, rating, project association)
36- Zotero item key is included for bidirectional linking
37- Date fields use ISO 8601 format for consistent sorting
38
39## Export Workflows
40
41**Single Item Export**
42- Right-click a Zotero item and select the MDNotes export option
43- Choose between metadata only, annotations only, or combined export
44- The plugin generates the Markdown file in the configured output directory
45- If a file with the same name exists, choose to overwrite or create a new version
46- The exported file opens automatically in the configured editor (optional)
47
48**Batch Export**
49- Select multiple items or an entire collection in Zotero
50- Apply export to the full selection
51- Each item generates its own Markdown file
52- A summary index file can optionally be generated listing all exported items
53- Batch exports respect the same templates and configuration as single exports
54
55**Annotation Export**
56- PDF highlights are exported with their color, page number, and surrounding text
57- Comments attached to highlights are included as sub-items
58- Free-text notes from the Zotero note editor are exported as separate sections
59- Annotations are grouped according to the configured strategy (color, page, etc.)
60- Each annotation includes a link back to the specific PDF location in Zotero
61
62## Template Customization
63
64**Metadata Template**
65- Controls the structure of the bibliographic information section
66- Standard fields: title, authors, year, journal, volume, pages, DOI, URL
67- Extended fields: abstract, keywords, collection path, date added
68- Custom fields: any Zotero extra field data
69- The template determines the order and formatting of each field
70
71**Annotation Template**
72- Controls how individual annotations are formatted
73- 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 comment
75- Format as blockquotes, bullet points, or plain text
76- Group by color to create thematic sections automatically
77
78**Combined Template**
79- Merges metadata and annotations into a single cohesive note
80- Includes section headings for clear structure
81- Adds a personal notes section at the bottom for your own synthesis
82- Includes a placeholder for connections to other notes
83- Provides a reading status field for tracking progress
84
85## Knowledge Management Integration
86
87**Obsidian Integration**
88- Export to the Obsidian vault's literature notes folder
89- Use wiki-link format for interoperability with Obsidian's linking system
90- Tags are formatted as Obsidian-compatible hashtags
91- Dataview-compatible frontmatter enables dynamic queries
92- Graph view shows connections between literature notes and your other notes
93
94**Logseq Integration**
95- Export in Logseq-compatible Markdown format
96- Use page references for linking between notes
97- Properties block replaces YAML frontmatter for Logseq compatibility
98- Block-level references are supported for granular linking
99- Journal page references connect reading dates to daily notes
100
101**Plain Markdown Workflows**
102- Export to any directory for use with any Markdown editor
103- Standard Markdown formatting ensures compatibility
104- Frontmatter follows common conventions for static site generators
105- Links use standard Markdown link syntax for maximum portability
106- Files are self-contained with no external dependencies
107
108## Advanced Usage
109
110**Selective Field Export**
111- Configure which Zotero fields are exported to reduce noise
112- Create focused templates for different project needs
113- Academic fields: include abstract, methodology tags, dataset references
114- Reading group fields: include discussion questions, presenter notes
115- Writing project fields: include relevance score, key quotes, argument position
116
117**Incremental Updates**
118- Re-export items after adding new annotations
119- The plugin can append new annotations or regenerate the full file
120- Track changes between exports using version control
121- Maintain a changelog of reading progress through dated annotations
122- Sync exported files across devices using standard file sync tools
123
124**Custom Post-Processing**
125- Apply regex transformations to exported files
126- Add custom metadata computed from Zotero fields
127- Generate index files grouping exports by tag, year, or author
128- Create citation graph files from the exported reference data
129- Format exports for specific publishing pipelines
130
131## Integration with Research-Claw
132
133This skill connects with the Research-Claw knowledge management workflow:
134
135- Export Zotero annotations as the first step in building literature reviews
136- Feed exported notes to synthesis and writing skills
137- Connect with other citation skills for a complete reference workflow
138- Use exported metadata for bibliometric analysis
139- Store exported notes in the Research-Claw knowledge base for agent access
140
141## Best Practices
142
143- Establish your template before exporting in bulk to avoid reformatting later
144- Use a consistent color scheme for annotations across all papers
145- Export promptly after reading to capture your fresh understanding
146- Include a personal synthesis section in each literature note beyond just annotations
147- Use tags consistently to enable useful filtering and grouping
148- Back up both Zotero and the exported notes directory regularly