Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/njzjz/hexo-tag-publications
https://github.com/njzjz/hexo-tag-publications
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/njzjz/hexo-tag-publications
- Owner: njzjz
- Created: 2021-02-09T04:30:12.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T04:39:40.000Z (about 2 months ago)
- Last Synced: 2024-10-28T05:28:04.914Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://hexo-tag-publications.njzjz.win
- Size: 922 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hexo-tag-publications
[![NPM version](https://img.shields.io/npm/v/hexo-tag-publications?color=red&logo=npm&style=flat-square)](https://www.npmjs.com/package/hexo-tag-publications)
[![NPM Downloads](https://img.shields.io/npm/dy/hexo-tag-publications?logo=npm&style=flat-square)](https://www.npmjs.com/package/hexo-tag-publications)`hexo-tag-publications` creates a publication list. See [Here](https://njzjz.win/cv/) for an example.
`hexo-tag-publications` needs Font Awesome >=6.5.0 to show icons.
## Installation
```sh
yarn add hexo-tag-publications
```## Usage
Firstly, you need to create a ${\mathrm{B{\scriptstyle{IB}} T_{\displaystyle E} X}}$ file at `source/_data/pub.bib`. See [here](https://github.com/njzjz/njzjz.github.io/blob/6dcd278affcf61ed982dc01e0c3e76a98a668974/source/_data/pub.bib) for an example.
You can use [wenxian](https://github.com/njzjz/wenxian) to generate ${\mathrm{B{\scriptstyle{IB}} T_{\displaystyle E} X}}$ files from given identifiers (DOI, PMID, or arXiv ID).Then, you are able to add a publication list to any page or post, such as
```
{% publications %}
Zeng_ChemRxiv_2021,Zeng_EnergyFuels_2021_v35_p762,Zeng_NatCommun_2020_v11_p5713,Zhang_ComputPhysCommun_2020_v253_p107206,Zeng_PhysChemChemPhys_2020_v22_p683,Cao_ChemRxiv_2019,Tian_PhysChemChemPhys_2019_v21_p22103,Han_ACSAppliedMatInterface_2018_v10_p31725
{% endpublications %}
```where `Zeng_NatCommun_2020_v11_p5713` is the entry key in the [`pub.bib`](https://github.com/njzjz/njzjz.github.io/blob/6dcd278affcf61ed982dc01e0c3e76a98a668974/source/_data/pub.bib).