![](https://img.haomeiwen.com/i748014/626b7ffb0718689d.png)
对于经常使用Markdown写文章的你来说,是不是都有过如下操作:
假设:我们要在 Markdown编辑器里面插入一个带标题的链接。
操作:先去目标网页复制下标题,回到 Markdown编辑器粘贴,回去复制网页链接,最后回到 Markdown编辑器 粘贴url地址。然后补全 Markdown 格式。
Chrome的一个插件能够帮你一次性完成以上操作,而且粘贴时就是一个完整的Markdown格式标题链接样式。它就是上图工具 - Copy as Markdown
原文使用介绍
Copy Link or Image as Markdown code
Copy as Markdown is a Chrome extension which can help you copy the following things as Markdown to your system clipboard:
- Current Tab as Link
- A Link on the Page
- If the link has an Image in it, the copied Markdown will take that image as link text.
- An Image on the Page
- All Tabs as a List of Links
- Select Tabs for a List of Links
You can also customize keyboards shortcuts to copy link of tab(s) without a single mouse click.
Known Issues
- Cannot grab image.alt when copying image
- On Microsoft Windows, copied page link doesn't come with the link title
- (more issues in the issue tracker)
Source Code (MIT License)
https://github.com/chitsaou/copy-as-markdown
使用介绍图
![](https://img.haomeiwen.com/i748014/e67f5a8e4e707ad2.png)
![](https://img.haomeiwen.com/i748014/2e2e127d761ac759.png)
![](https://img.haomeiwen.com/i748014/bba76e541edccc65.png)
![](https://img.haomeiwen.com/i748014/e1e1a0795bede468.png)
设置快捷键
-
进入到Chrome的扩展程序界面
扩展程序入口
![](https://img.haomeiwen.com/i748014/ea5801e0fcb22f6e.png)
![](https://img.haomeiwen.com/i748014/115d51aa99783781.png)
![](https://img.haomeiwen.com/i748014/a4c9f244d5ca43f1.png)
网友评论