一键复制HTML表格/网页代码/latex公式

在指定网站的表格上方添加按钮,点击将表格以Markdown格式复制到剪贴板

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
JohnGranger
Daily installs
1
Total installs
382
Ratings
0 0 0
Version
0.8.3
Created
2022-11-11
Updated
2024-03-18
Size
31.3 KB
License
MIT
Applies to

0.8.3

  • 适配更多网站(stackoverflow、*.github.io等)
  • 使用base64图标

0.8.2

  • 优化代码

0.8.1

  • 优化代码,复制公式功能适配所有使用MathJax的网站

0.8

  • 增加点击按钮复制latex公式功能,目前只适配知乎和cnblogs

0.7

  • 优化代码

0.6

  • 修复【掘金复制代码时会连带复制“xxx 复制代码”】的问题

0.5

  • 复制代码适配cnblogs
  • Button区分Copy Table和Copy Code

0.4

  • 添加功能:点击按钮复制代码

0.3

  • 修复http网站无法复制的问题
  • 添加一些新网站

0.2

  • 复制成功后,在button下方显示成功信息

0.1

  • 转化的核心代码来自http://johnbeech.github.io/html-table-to-markdown-converter/index.html,对原作者表示感谢
  • 类似的转化网站很多,个人使用中感觉步骤比较繁琐
  • 这个脚本作用于@match的网站,包括常用的csdn、cnblog、runoob,可以自己添加新网站
  • 对于作用的网页,会在每个table上添加按钮,点击按钮即可将markdown格式的表格复制到剪贴板

屏幕截图 2022-11-11 213547.png