討論 » 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.

發表回覆

登入以回復