You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible implement "Show Markdown File" on Linux? At this time it just opens the parent directory (which is kind of useless as you would still have to look up the file).
showSelectedItemMarkdownInFilesystem: function(idx){constentry_res=this._getSelectedEntry(idx);constfile=newFileUtils.File(OS.Path.normalize(entry_res.path));if(file.exists()){try{Zotero.debug("MarkDBconnect: Revealing "+file.path);file.reveal();}catch(e){// On platforms that don't support nsIFile.reveal() (e.g. Linux),// launch the parent directoryZotero.launchFile(file.parent);}}},
I was thinking of running xdg-open with file.path as argument, but am not sure if/how this would be possible.
The text was updated successfully, but these errors were encountered:
I don't have easy access to a linux platform so it's not easy for me to test other solutions. And given that this is the best solution that Zotero came up with, it's not a feature I'm going to prioritize.
That said, if you (or anyone) find something that works I'd be happy to add it.
Would it be possible implement "Show Markdown File" on Linux? At this time it just opens the parent directory (which is kind of useless as you would still have to look up the file).
I was thinking of running
xdg-open
withfile.path
as argument, but am not sure if/how this would be possible.The text was updated successfully, but these errors were encountered: