-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Add BBCode escape sequences for left/right brackets #56586
Conversation
All of these codes probably should be added to the https://github.com/godotengine/godot-docs/blob/master/tutorials/ui/bbcode_in_richtextlabel.rst, BBCodes for the special characters is not currently documented anywhere. |
Seems fine to me. Another option would be to add support for That's maybe more common/expected at least now that Markdown is so popular, but might also be more difficult to implement, so I'm fine with using |
This should maybe be added to There are more of our BBCode tags which are supported in RichTextLabel but not in |
If this PR is accepted, then I will open the corresponding PR in the godot-docs repository.
They are documented, just the preview on GitHub does not display them. |
Thanks! |
Cherry-picked for 3.5. |
This PR adds
[lb]
and[rb]
BBCodes, which are displayed as[
and]
respectively. This solution is consistent with the existing ones[lrm]
,[rlm]
, etc. BBCodes for Unicode control characters.[b]text[/b]
[lb]b[rb]text[lb]/b[rb]
Resolves #56556.