本文适用于MAC系统,Typora手写个命令行实现Typora图床效果 1. Typora 支持的图床: iPic uPic PicGo-core(命令模式) PicGo.app Custom Command 2.写个命令行upload-image.sh #!/bin/bash result=() # 传文件 function upload() { t=$(curl -XPOST -s -F"img=@$1" -H'token:12AC' http://localhost/demo/imgupload/upload.php) More