hexo插入哔哩哔哩视频
找到我们想插入的哔哩哔哩视频点击分享按钮然后点击嵌入代码就自动复制到粘贴板了
默认是
1 | <iframe src="//player.bilibili.com/player.html?isOutside=true&aid=80433022&bvid=BV1GJ411x7h7&cid=137649199&p=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe> |
但是我们放到hexo后可以看到页面非常难看
然后我们可以把html代码中的视频链接提取出来放到下面的代码中
1 | {% raw %} |
然后我们可以看一下效果
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 567Free!
评论