Autoconvert curseforge spoiler tags into details tags in markdown #56
TelepathicGrunt
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue
When maintaining a mod on both modrinth and curseforge, it would be super helpful to be able to copy/paste the curseforge description into modrinth without needing to change anything about the markdown. However, curseforge uses <div class="spoiler"> to create collapsible sections while modrinth requires <details>.
Solution
A solution would be to have modrinth take the curseforge markdown with spoilers and autoconvert it to details tags for the poster. Example of some curseforge markdown it might have to handle:
which looks like this on curseforge:
On modrinth, it should read this markdown something like this
Which will look like this:
The closer the converted markdown looks to the curseforge's result, the better and easier it will be for modders to switch to modrinth and keep their descriptions up to date. Just a good suggestion
Beta Was this translation helpful? Give feedback.
All reactions