Skip to main content
Version: 0.1.3

Default Templates

Templates define how the final Markdown document will look like. Starting on v0.1.0 you can specify a templates directory in the Tools > Mdnote preferences. Once a directory is specified, Mdnotes will look for the following files (they must be named exactly like this):

โ”œโ”€โ”€ Mdnotes Default
โ”œโ”€โ”€ Standalone Note
โ”œโ”€โ”€ Zotero Metadata
โ””โ”€โ”€ Zotero Note

The files must be located at the root of the folder you chose. For now, hidden folders (those starting with .) are not supported. If there is no path specified or the file doesn't exist, Mdnotes will use the default templates.

The default templates can give you an idea of existing placeholders and wildcards

Export to markdown#

Using the Export to markdown will export whatever you have selected, using the zotero metadata template if you have selected an item or the zotero note template of you have notes in your selected items.

Zotero Metadata Template#

  • Which menu?: Export to markdown
  • What to select?: A Zotero item.

You can add (or remove) any item placeholder to your template.

Zotero Metadata
## Metadata
{{tags}}, #zotero, #literature-notes, #reference
## Zotero links

Zotero Note Template#

  • Which menu?: Export to markdown
  • What to select?: A Zotero note.

You can add (or remove) any note placeholders to your template.

Zotero Note

Creating files for your notes#

Mdnotes Default Template#

This template supports any item placeholder, which you can add (or remove) from your template. Read more about the specifics for single-file and multi-file exports.

Mdnotes Default
Other files:
## Zotero links
## Notes

Standalone Note Template#

  • Which menu?: Create a standalone note.
  • What to select?: A Zotero item.

It is essentially a duplicate of the mdnotes default template. Its purpose is to provide a secondary template that can be used to add notes with some metadata and automatically adding links to Zotero.


Note: Standalone notes must be activated in the Mdnotes Preferences.

Standalone Default
Related to: [[%(metadataFileName)]]
## Notes