Discussions » Greasy Fork Feedback

Markdown sync error

§
Posté le: 26/10/2024
Édité le: 26/10/2024

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

§
Posté le: 26/10/2024

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?

§
Posté le: 26/10/2024
Édité le: 26/10/2024

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

§
Posté le: 27/10/2024

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

Poster une réponse

Connectez-vous pour poster une réponse.