Skip to content

Commit

Permalink
Added Translator
Browse files Browse the repository at this point in the history
  • Loading branch information
silentdot authored Oct 13, 2020
1 parent b77901c commit a481fa2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Markdown Item URI.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"translatorID":"8dbf9b92-f796-4153-8f2e-ac6c157500dc",
"translatorType":2,
"label":"Markdown Item URI",
"creator":"Silent",
"target":"markdown",
"minVersion":"2.0",
"maxVersion":"",
"priority":200,
"inRepository":false,
"lastUpdated":"2020-10-13"
}


function doExport() {
var item;
while(item = Zotero.nextItem()) {

Zotero.write("["+item.creators[0].lastName+". "+item.date+". *"+ item["title"] + "*]")
Zotero.write("(zotero://select/items/");
var library_id = item.libraryID ? item.libraryID : 0;
Zotero.write(library_id+"_"+item.key+")");
}
}

0 comments on commit a481fa2

Please sign in to comment.