-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Clickable links in entries that can lead to other entries #34
Comments
The cleanest way to do this would be to move everything over to ITextComponent instead of direct strings. The problem with that would be lots of breakage. Lots. I could provide an ITextComponent "emulator" page that functions similarly to the sound page and redirects all the strings through an ITextComponent first. |
ITextComponents will be great because they can do other things. (TextComponentTranslation, TextComponentScore, etc) I'd support a full move to ITextComponent but for now an "emulator" page would work. |
ITextComponents would be awesome. |
Technically, you don't need changes to the built in Page to accomplish this. You could write your own Page class that you use instead which uses ITextComponent instead of strings, as there is nothing (that I can see) that mandates you have to use strings at all. |
/shrug |
I... Didn't actually mean to close this one. I don't remember checking the box... |
Title says it all pretty much. Maybe have some sort of character or something in the localized string to mark a link? "@link("Quaritum:ShardedSkies") { Click me }" I know I'm bad at examples but maybe this could display "Click me" and link to "Quaritum:ShardedSkies"?
Thanks!
The text was updated successfully, but these errors were encountered: