Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d-sketon/hexo-bilibili-card2
A hexo plugin to show bilibili style card.
https://github.com/d-sketon/hexo-bilibili-card2
hexo hexo-plugin
Last synced: 28 days ago
JSON representation
A hexo plugin to show bilibili style card.
- Host: GitHub
- URL: https://github.com/d-sketon/hexo-bilibili-card2
- Owner: D-Sketon
- Created: 2022-12-29T14:26:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T10:56:38.000Z (almost 2 years ago)
- Last Synced: 2024-08-10T21:27:50.015Z (3 months ago)
- Topics: hexo, hexo-plugin
- Language: CSS
- Homepage: https://d-sketon.top/20210925/otomad-tutorial/
- Size: 121 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Install
```bash
npm install hexo-bilibili-card2 --save
```## Change List
- [x] **适配 Shoka 主题的夜间模式,但可能对其他主题有影响**
- [x] 将所有 `icon` 替换为自制 `svg`
- [x] 播放量支持 **亿**
- [x] 修改页面,使之更接近 `Bilibili` 样式
- [x] 增添~~无用~~鼠标悬浮动画
- [x] `id` 出错时显示更友好
- [x] 优化移动端显示## Usage
和 [hexo-bilibili-card](https://github.com/MaxChang3/hexo-bilibili-card) 相同:
```text
{% bilicard2 video_id %}
````video_id` 为视频 BV 号或 AV 号
## Example
[Demo](https://d-sketon.top/20210925/otomad-tutorial/)