Skip to content

Commit

Permalink
support typora
Browse files Browse the repository at this point in the history
  • Loading branch information
nj-jay committed Dec 13, 2020
1 parent 6714023 commit e5855a0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 18 deletions.
22 changes: 4 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,27 +85,13 @@ upload successfully

## 与typora天然集成

如果你使用的是typora编写markdown
如果你使用的是typora这款软件编写markdown

那么使用这款工具你将会发现写文档是多么舒适的一件事情啊
那么这个工具将是你的不二之选

### 配置
能够极大的提高你的效率

首先需要保证你的typora的版本中存在这么一项服务

<img src="https://picture.nj-jay.com/image-20201212235517320.png" alt="image-20201212235517320" style="zoom:50%;" />

然后在上传服务中选择Custom Command

然后使用自定义命令为`qn put`

前提是你已经将之前的操作已经完成(更改文件名和添加环境变量)

然后直接把图片拖到typora中

或者截完屏之后直接复制到typora当中

图片将自动上传到七牛云中(今天发现的意外之喜)
[点击这个地方查看详细配置](typora.md)

## 目前支持的命令

Expand Down
26 changes: 26 additions & 0 deletions docs/typora.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
如果你使用的是typora编写markdown

那么使用这款工具将会解放你的双手

## 配置

首先保证你已经下载好对应操作系统的二进制文件

然后更改文件名并且已经添加到环境变量中

[具体配置点击这个地方](../README.md)

打开typora的偏好设置并选择图像这一设置

![image-20201213173939351](http://picture.nj-jay.com/image-20201213173939351.png)

* 插入图片时: 选择为上传图片.下面的选项可选,根据自己的喜好进行配置
* 上传服务选择Custom Command.并自定义命令为qn put
* 点击验证图片上传选项

<img src="http://picture.nj-jay.com/image-20201213174857642.png" alt="image-20201213174857642" style="zoom:67%;" />

## 使用

* 拖动图片到typora中,将会自动上传文件到七牛云中,图片url将会自动转成外链
* 截屏之后直接粘贴到typora中,图片将会自动上传到七牛云中,并自动转成外链

0 comments on commit e5855a0

Please sign in to comment.