讨论 » Greasy Fork 反馈

Markdown sync error

§
发表于:2024-10-26
编辑于:2024-10-26

Why is the content of the md file in github <a href="#">Top↑</a>
and the synchronized content is <a href="https://raw.githubusercontent.com/ChinaGodMan/UserScripts/main/chatgpt-code-styling/README.md#">Top↑</a>
There was no problem synchronizing before, but this problem occurred recently. My synchronization address ishttps://raw.githubusercontent.com/ChinaGodMan/UserScripts/main/chatgpt-code-styling/README.md

JasonBarnabe管理员
§
发表于:2024-10-26

There was a recent change to make relative links relative to the origin of the file rather than leave them as relative (and so referring to a page on Greasy Fork). This was to fix cases where people where linking to ../whatever that exists on the origin server but obviously not on Greasy Fork.

I suppose adjusting again so that anchor-only links (#whatever) don't do that, but do those links even work after syncing with Greasy Fork?

§
发表于:2024-10-26
编辑于:2024-10-26

There was a recent change to make relative links relative to the origin of the file rather than leave them as relative (and so referring to a page on Greasy Fork). This was to fix cases where people where linking to ../whatever that exists on the origin server but obviously not on Greasy Fork.

I suppose adjusting again so that anchor-only links (#whatever) don't do that, but do those links even work after syncing with Greasy Fork?

Oh, that’s it, I haven’t tried links like ../whatever, I always write the complete address, except this #top returns to the top of the greasyfork website

JasonBarnabe管理员
§
发表于:2024-10-27

I've adjusted it to not affect links that start with #. You may need to do an update to see the updated values.

发表回复

登录以发表回复。