Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pk5ls20/hexo-bilibili-plus
仅需BV号/AV号,方便的hexo页面中嵌入bilibili视频 | Embed bilibili video easily by using bvid or avid.
https://github.com/pk5ls20/hexo-bilibili-plus
bilibili hexo hexo-plugin
Last synced: 22 days ago
JSON representation
仅需BV号/AV号,方便的hexo页面中嵌入bilibili视频 | Embed bilibili video easily by using bvid or avid.
- Host: GitHub
- URL: https://github.com/pk5ls20/hexo-bilibili-plus
- Owner: pk5ls20
- License: mit
- Created: 2023-01-31T04:14:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-31T05:32:17.000Z (almost 2 years ago)
- Last Synced: 2024-06-14T19:41:32.236Z (5 months ago)
- Topics: bilibili, hexo, hexo-plugin
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
- awesome-bilibili-extra - Hexo-bilibili-plus - 一个 hexo 插件,可以快速而方便的在 hexo 页面中嵌入 bilibili 视频.![JavaScript](svg/javascript.svg?raw=true) (相关插件 / 直播脚本)
README
# hexo-bilibili-plus ![](https://img.shields.io/npm/v/hexo-bilibili-plus) ![](https://img.shields.io/npm/dm/hexo-bilibili-plus)
A hexo plugin embed a bilibili video in your hexo article quickly and easily.一个hexo插件,可以快速而方便的在hexo页面中嵌入bilibili视频
## Install 安装
Run command `npm install hexo-bilibili-plus` in your hexo site path.在Hexo的博客目录下执行`npm install hexo-bilibili-plus`
## Preview 预览
![](https://github-blog-1314730533.cos.ap-beijing.myqcloud.com/20230131132606.png)
You can view demo in my blog [here](https://blog.pk5ls20.com/posts/111d57cd/#%E5%9C%A8Hexo-Fluid%E4%B8%AD%E4%B8%80%E9%94%AE%E6%8F%92%E5%85%A5Bilibili%E8%A7%86%E9%A2%91)可以在我的[博客](https://blog.pk5ls20.com/posts/111d57cd/#%E5%9C%A8Hexo-Fluid%E4%B8%AD%E4%B8%80%E9%94%AE%E6%8F%92%E5%85%A5Bilibili%E8%A7%86%E9%A2%91)中查看demo
## Usage 使用
Insert `{%blil $VID}` in your markdown file to use.
The `$VID` can be any vaild bvid (current video number in bilibili, like `BV14b4y1U7XX`) or avid (bilibili use it from 2009 to 2020, like`av170001`).在文章的md文件中插入`{%blil $VID}`来使用,`$VID`可以是bv号也可以是av号
## References 参考
The reference content has been written in the source code.参考内容在源代码中已写明