# hexo-bilibili-card
A hexo plugin insert a bilibili card into your page or article, some of css code is copy from bilibili.

> 个人使用修改版：css 需要自己插入， 其它和原版一样！方便性能优化。

一个Hexo插件，在你的文章中插入b站的视频卡片，样式模仿和借鉴自b站。

[![NPM](https://nodei.co/npm/hexo-bilibili-card.png)](https://nodei.co/npm/hexo-bilibili-card/)


# Install 安装
```npm i hexo-bilibili-card```

# Preview 预览
You can click [here](https://zhangmaimai.com/2021/02/05/some-tests/) to see the preview website.
点击 [这里](https://zhangmaimai.com/2021/02/05/some-tests/) 看预览哦~

# Usage 使用
In your markdown file:
在你的markdown文件中插入以下片段

```
{% bilicard your_video_id %}
```
`your_video_id` is the avid or bvid in Bilibili.

`your_video_id` 是b站的bv号或av号。

then you will get the card in your page.

然后你就可以看见文章中的卡片了。



