[Suggestion] Markdown support in Rule descriptions
RubixDev opened this issue ยท 4 comments
I thought of basic markdown support for the rule descriptions, so things like this would display properly ingame and maybe being able to write in bold and italic.
+1, although probably not simple, would be nice to link at least bug reports. Maybe instead hardcoding bug reports would be simpler, since I'm not sure what else would you need to link, and a markdown processor may be too complex for that single purpose. Edit: I've just seen that your use case is linking sources for the idea of rules, so maybe there are more cases. Actually not, those are not Validator descriptions but from your parser, nvm.
Also Github embed of those lines, for the lazy:
fabric-carpet/src/main/java/carpet/CarpetSettings.java
Lines 876 to 878 in ddd3873
Any markdown thing would have to be added to that, before it gets translated. In all instances of a rule description being displayed to the player, that appears to be the method used to get it (which makes sense if u think about it)
fabric-carpet/src/main/java/carpet/settings/ParsedRule.java
Lines 288 to 291 in ddd3873