你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/482516-table-to-markdown-copier-enhanced-version,源站連結 點此以跳轉。
Convert html table to markdown format and copy it to clipboard
Table to Markdown Copier - Enhanced Version
This enhanced version of the "Table to Markdown Copier" UserScript
introduces significant improvements for ease of use and performance,
including a transition to vanilla JavaScript and a streamlined activation
method.
The original UserScript can be found at
Greasy Fork, version 1.0.1.
https://github.com/hotmit/table-markdown-userscript
When I first tried Du Dang's script, I thought it was great but had some
trouble with the keyboard shortcut of Shift+Shift+T. When looking at the
code, I realized there were a few things that could be enhanced for a
slightly better user experience.
To activate the script, select the "Convert Table to Markdown" option from
the Tampermonkey menu or your UserScript manager menu. This action will
add a purple-colored "MD" button to the top right cell of each table on
the page. Clicking this button will convert the table to Markdown format
and copy it to your clipboard.
Users can test the script on the following webpage:
W3Schools HTML Tables. This page contains several tables that the script can process.
MIT License