Markdown 工具

在 Greasy Fork 的文本字段中添加高级 Markdown 工具栏,允许用户轻松插入格式、列表、链接、图像、表格、视频、颜色和其他元素,只需单击一下。

< 脚本 Markdown 工具 的反馈

评价:好评 - 脚本运行良好

§
发布于:2025-09-26

Not working on https://greasyfork.org/en/users/<user's id>/sets/<script-set id>/edit -- the script-sets editor page -- but it shouldn't anyway, right?

OHAS作者
§
发布于:2025-09-26

I just updated it to run on the entire Greasy Fork website.

§
发布于:2025-09-27
编辑于:2025-09-27

I just updated it to run on the entire Greasy Fork website.

sure, the script runs on all pages -- but modifying text doesn't work on all pages -- e.g. 'youtube Audio Mode' on https://greasyfork.org/users/11263-azazello, trying to bold & italicize the script-set description.

So for script-set pages, it should be turned off. Unless you know how to make it work.

OHAS作者
§
发布于:2025-09-28

Now I understand what you meant. Indeed, there are pages on Greasy Fork that don’t support Markdown, but the Markdown Tool is still running on them (I just realized this). One example is the New script set page.

The truth is, I designed the Markdown Tool mainly for comments and descriptions, to speed up the text formatting process on the site. I hadn’t yet mapped all the different areas of Greasy Fork.

I also know that Markdown is supported on Edit account.

In short: whenever a text box comes with the Preview tab, it means Markdown is supported:


alt text


What I can do is add // @exclude rules for the pages that don’t support Markdown. I’ll implement this in the next update to make sure the tool only runs where it should.

If you notice the Markdown Tool showing up in other inappropriate places, please leave a comment here so I can fix it. I’ll already include the exclusion for the New script set section.

§
发布于:2025-09-28

What I can do is add // @exclude rules for the pages that don’t support Markdown. I’ll implement this in the next update to make sure the tool only runs where it should.

If you notice the Markdown Tool showing up in other inappropriate places, please leave a comment here so I can fix it. I’ll already include the exclusion for the New script set section.

// @exclude *://greasyfork.org/*/*/*/sets*

Don't see it in v1.2; I assume it'll show up in v1.3. No rush!

Otherwise your script is working nicely and is much-needed update to the older GF markdown scripts. Upgraded to 'GOOD' rating.

发布留言

登录以发布留言。