Discussions » Greasy Fork Feedback

Markdown sync error

§
Posted: 2024-10-26
Edited: 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

§
Posted: 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?

§
Posted: 2024-10-26
Edited: 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

§
Posted: 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.

Post reply

Sign in to post a reply.