Open DOI
Sublime Text package that opens DOIs in a browser
Details
Installs
- Total 76
- Win 46
- Mac 21
- Linux 9
Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Open DOI
This package provides a new command in the context menu and the Command Palette of Sublime Text to open the selected digital object identifiers (DOIs) or shortDOIs, that are formatted without https://doi.org/
and look like 10.1103/PhysRevLett.116.061102
or 10/gcp5km
, as URLs in your browser.
Usage
If a DOI looks like https://doi.org/10.1103/PhysRevLett.116.061102
, Sublime Text allows you to open it in a browser directly as an URL. In this case, you do not need to use this package.
But if a DOI looks like 10.1103/PhysRevLett.116.061102
, this package should help you. Select such a DOI and click on Open DOI
in the context menu or in the Command Palette. Then the selected DOI will be opened in your browser. Moreover, shortDOIs (e.g., 10/gcp5km
) are supported.
Multiple selection is supported: if you select multiple DOIs/shortDOIs, they will be opened as separate URLs.
The leading and trailing whitespace characters in your selection are ignored.
If your selection does not match the basic DOI syntax (i.e., it does not start with 10.
and does not contain /
) or shortDOI syntax (i.e., it does not start with 10/
), it will be ignored.
Installation
It is recommended to install this package using Package Control: type Package Control: Install Package
in the Command Palette and select Open DOI
from the list.
It is possible to install this package manually as well.
Changelog
Version 1.0.3 (2021-07-30): add shortDOI support
Version 1.0.2 (2021-03-20): correct README.md
Version 1.0.1 (2021-03-20): add is_visible() check
Version 1.0.0 (2021-03-17): initial release
Open DOI
Version 1.0.3 (2021-07-30)
Copyright © 2021 Evgenii Shirokov
MIT License