ikeq
ikeq
@BluerAngala node版本问题吧,升级到最新
@Theoshen 项目根目录执行 `npm install markdown-it markdown-it-container`
例如?
现在用这个插件没效果吗
### hexo/_config.yml ```yml aplayer: asset_inject: false ``` ### themes/inside/_config.yml ```yml plugins: - https://unpkg.com/[email protected]/dist/APlayer.min.css - https://unpkg.com/[email protected]/dist/APlayer.min.js ``` 亲测可行,只有一个问题,尚没有很好的机制销毁播放器(路由改变后)。
我后期实现一些自定义事件类型(包括但不限于 Angular 路由变化),之后就可以很方便做一些善后动作了,例如: ```js document.addEventListener('route:after', function({ type }) { // type: post | page | etc... });
这个插件提供的 meting 功能是基于 [[email protected]](https://github.com/metowolf/MetingJS/tree/v1.2),不好处理,但这个 MetingJS 已经到 2.x 了,基于 web components,很完美,所以只需要: 1. 使用 [[email protected]](https://github.com/metowolf/MetingJS/); 2. patch 一下 hexo-tag-aplayer 的输出结果使之生成 [[email protected]](https://github.com/metowolf/MetingJS/) 的标记,具体为: ```js // themes/inside/scripts/patch.js (名字随意) const meting = hexo.extend.tag.env.getExtension('meting') if (meting)...
这个还不行,因为还想不到好的设计😂,也欢迎提意见。
UI 呀,能有什么功能,不就是点击跳转。
其实现在的卡片式 post 列表看多了也有点不顺眼,移动端还好,PC 上有点占地方。