Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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.

参考内容在源代码中已写明