4

推荐一款帮助 markdown 用户快速写文档的工具: url2md

 2 years ago
source link: https://www.v2ex.com/t/810845
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

推荐一款帮助 markdown 用户快速写文档的工具: url2md

  Ghosthouzi · 17 小时 42 分钟前 · 1076 次点击

最近换了工作,新公司业务比较复杂,需要梳理大量的文档。在写 markdown 时引用大量名词和超链以备辅助理解,当在 markdown 中引用变多时,不停的手动敲[xx]( https://xxx.com),我发现这是一种体力活。

我需要一个能自动生成 markdown 格式链接的工具。

于是,我写了一个 chrome 插件 :**url2md**。 自己用着挺舒服,所以想推荐给各位朋友。

url2md

方便 markdwon 快速写作的小工具,复制 url 转成 markdown 格式的 chrome 插件。

由于暂未考虑上 chrome 商店,所以您可以将本仓库克隆到本地。在 chrome 扩展程序 -> 开发者模式 -> 加载已解压的扩展程序,选中项目的根目录,即可安装成功。

操作简单到只有一个操作,那就是在 chrome 中使用鼠标右键菜单选择 复制 url 转成 markdown 格式

1.若是网页空白处进行的操作,将会提取本网页地址生成 markdown 格式的 url 。

[Chrome 插件(扩展)开发全攻略 - 我是小茗同学 - 博客园]( https://www.cnblogs.com/liuxianan/p/chrome-plugin-develop.html)

2.若是在一张图片之上进行的操作,将会提取图片地址生成 markdown 格式的 url 。

![读完这个,你就清楚 Google logo 的变迁史了| 爱范儿]( https://s3.ifanr.com/wp-content/uploads/2015/09/Googlelogo2015.jpg)

3.在选中链接上的文字,然后右键操作,将会提取超链接和文字转成 markdown 格式的 url 。

[Google's New Logo]( https://www.google.com/doodles/googles-new-logo)

希望 url2md 这个小工具能帮到各位。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK