makergyt

Results 35 comments of makergyt

you can try [markdown-it-latex2img](https://github.com/MakerGYT/markdown-it-latex2img),Server side MathJax Renderer. ```sh $$ \iff $$ ``` ![](https://math.now.sh/?from=%5Ciff%0A)

点击一个,所有底部都闪

开发者工具预览正常,但实际上只要开启enablePullDownRefresh,就会下拉整个页面,并显示默认动画。 如果不用该接口监听用户下拉刷新事件,可以通过在页面主体内容视图上绑定catchtouchmove,通过回调event.changedTouches = [{clientX,clientY}]来判断下拉操作,再结合[loading](https://developers.weixin.qq.com/miniprogram/dev/extended/weui/loading.html)组件响应动画 具体实现参考[pull2](https://github.com/Shay0921/header-navbar/pull/2)

在文章来源上,通过webhook(POST到云函数)与github仓库(可以是hexo或jekyll源码)同步,或者说其实与博客构建方式无关,只关注markdown,化繁为简,回归写博文的初衷。在云函数中可以通过markdown解析库来构建。 下列小程序通过[markdown-it-latex2img](https://github.com/MakerGYT/markdown-it-latex2img)从而支持了小程序端latex/mathjax语法的渲染。 ![微信搜索小程序源创智造](https://imgkr.cn-bj.ufileos.com/3cc9ee96-a315-43e0-b9b7-d8a760319ddd.png) ![预览](https://imgkr.cn-bj.ufileos.com/25ec7042-73f7-4c76-8389-d733a609735c.gif)