52 Commits

Author SHA1 Message Date
DevPoodle
def5f37a86 Update number of built-in BBCode effects 2025-12-17 08:35:00 -08:00
BenBlueeeee
e129bbdbff remove reference to non-existent "identity" property
no identity property exists in CharFXTransform

see #11187 for more
2025-08-08 21:42:04 +01:00
Hugo Locurcio
72095a3e31 Fix incorrect [ul bullet=...] description in BBCode in RichTextLabel
- Mention `[br]` behavior when used in a list item.
2025-08-05 16:56:15 +02:00
A Thousand Ships
92cd36b50e Various grammar and spelling fixes 2025-06-23 16:37:26 +02:00
Pāvels Nadtočajevs
2a6837d8de Add HR bbcode info. 2025-06-13 09:04:18 +03:00
Hugo Locurcio
8a6ad4c926 Replace uses of shorthand codeblock syntax to avoid issues with localization
Previously, many paragraphs in the documentation used `::` at the end of a line
as a replacement for a single colon (and `::` on the following line).
Due to this, the `::` was part of the extracted string for localization.
Weblate also showed a warning about the trailing `::`, as it's not
normally expected to be there.

This change requires translators to revalidate all modified strings.
However, considering many of those have broken code blocks due to translators
replacing `::` with `:`, it can be a good idea.

This also adds documentation writing guidelines for code blocks and admonitions.
This commit does not modify existing admonitions in any way (as this would
lead to a much larger diff, and require more localizable text to be revalidated
by translators).
2025-05-30 02:02:30 +02:00
Hugo Locurcio
0dcc22ffec Document [hint] tag quote support in BBCode in RichTextLabel 2025-05-13 18:13:27 +02:00
MJacred
f0258bd879 Document new bbcode [br] in RichTextLabel 2025-04-25 15:53:23 +02:00
Hugo Locurcio
46471a19bf Document fgcolor and bgcolor highlight padding in BBCode in RichTextLabel 2025-03-17 19:55:40 +01:00
Hugo Locurcio
2d96a058c1 Document comma-separated values not supporting spaces between values in BBCode in RichTextLabel 2025-02-24 20:26:08 +01:00
havi05
91618125d5 Update rainbow bbcode options - add speed 2025-01-22 23:24:03 +01:00
tetrapod00
bd25f5813a Simply remove some words 2024-12-14 20:36:17 -08:00
Hugo Locurcio
806a4fccfd Add a page on the Output bottom panel 2024-12-07 08:40:44 +01:00
Hugo Locurcio
bebd5b86c4 Add color constants reference to BBCode in RichTextLabel
This reference is already present in the Color class reference,
but this embeds it directly in the page to save users a click.
2024-11-11 16:27:14 +01:00
tetrapod00
5994348764 Change all usages of "run-time" to "runtime" 2024-11-06 23:36:58 -08:00
Andrew Price
68a83880e5 Fix duplicate "glyph_spacing" in bbcode docs
The correct name for the space spacing option is space_spacing.
2024-09-21 13:10:38 +01:00
Max Hilbrunner
4361f19daf Merge pull request #9963 from ELginas/patch-2
Typo fix in bbcode_in_richtextlabel.rst
2024-09-17 00:21:33 +02:00
ELginas
7b9e7dfaed Remove unnecessary ` in bbcode_in_richtextlabel.rst 2024-09-16 18:03:22 +03:00
ELginas
2b34eb658c Typo fix in bbcode_in_richtextlabel.rst 2024-09-16 17:52:28 +03:00
Hugo Locurcio
f039df956c Link to class reference BBCode syntax subset in BBCode in RichTextLabel 2024-07-14 21:15:43 +02:00
bruvzg
dd74ee5345 Sync BBCode tutorial page with features added in 4.3. 2024-06-14 11:51:43 +03:00
Lulu
a0ce0dd4e3 Corrected closing in example for [lang] tag 2023-12-18 18:24:29 +01:00
Brett Parker
f5d3d8ece8 Update bbcode_in_richtextlabel.rst - Typo
Both left and right aligned said righ-aligned #8367
2023-11-01 08:10:25 +00:00
Hugo Locurcio
4724d6d737 Update BBCode in RichTextLabel documentation for Godot 4.2
- Add `lang` tag.
- Add `tab_stops` parameter to `p`.
- Add `pulse` built-in effect and remove custom pulse effect as it's
  superseded.
2023-10-28 02:03:10 +02:00
bdan-codes
1e96a4c8dd fix typo in bbcode_in_richtextlabel.rst
fixes the "tornao" typo in bbcode_in_richtextlabel.rst (its supposed to be tornado)
2023-08-06 19:53:45 -04:00
Hugo Locurcio
9a3836396c Fix [img] resource type in BBCode in RichTextLabel 2023-07-21 04:40:58 +02:00
Max Hilbrunner
6d71eee28d Merge pull request #7552 from Calinou/richtextlabel-ul-bullet 2023-07-18 13:28:57 +02:00
Hugo Locurcio
df904137db Fix incorrect usage of backticks in various pages 2023-07-14 19:31:01 +02:00
Hugo Locurcio
81c997bf15 Document bullet parameter for ul tag in BBCode in RichTextLabel
This also adds `[shy]` (soft hyphen) to the list of control character
tags and clarifies which tags are self-closing.
2023-06-24 00:38:19 +02:00
Hugo Locurcio
28ebc5a792 Document whitespace handling in BBCode in RichTextLabel 2023-06-14 02:21:43 +02:00
Hugo Locurcio
d782a51bca Document disabling ligatures and/or kerning in Using fonts
This also mentions the `connected` parameter available in the
`tornado`, `wave`, `shake` built-in RichTextEffects.
2023-06-05 22:37:49 +02:00
Max Hilbrunner
7cc873c2dd Remove duplicate the-the 2023-04-18 03:02:23 +02:00
Hugo Locurcio
38aea06740 Update and improve BBCode in RichTextlabel documentation for Godot 4.0
- Update screenshots for Godot 4.0.
- Document RichTextLabel having its own vertical scrollbar.
- Document `push_[tag]()` and `pop()` functions as a faster alternative
  to BBCode.
- Document threading support and when to use it.
- Document how to escape user input to prevent it from having its
  BBCode tags parsed.
- Document stripping BBCode tags from the text.
- Mention entangled tags not being supported.
- Mention faux bold/italic versus real bold/italic fonts.
- Document `[hint]` and `[dropcap]` BBCode tags.
- Mention animated RichTextEffects pausing when the scene tree is paused
  and how to control this behavior.
- Modify RichTextEffect examples to use the actual default values.
- Add screenshot showcasing how to add a RichTextEffect to the
  Custom Effects inspector property.
- Fix and improve `[pulse]` custom RichTextEffect. This adds an easing parameter
  and makes the target color a multiplier, so that colored text keeps its original
  color while fading in and out.
2023-03-19 21:11:55 +01:00
Yuri Sizov
dbfe3b1d26 Reorganize documentation for contributors
- Merge Community/Contributing and Engine Development into one top-level section, Contributing.
- Structure it in a way that gives equal priority to various ways to contribute, including documentation.
- Rename several articles to be more comprehensive and in line with the overall state of the documentation.
- Rewrite the guide for class reference contributions.
2023-01-10 01:49:30 +03:00
Max Hilbrunner
6c13f5ba58 More Godot 4 renames and fixes (#6317)
* Move ImmediateGeometry -> ImmediateMesh

* More Godot 3 -> Godot 4 renames
2022-10-15 23:12:48 +02:00
Petra Baranski
3811e23373 Add Spritesheet support to RichTextLabel BBCode 2022-10-10 18:10:24 +02:00
Hugo Locurcio
23dd5d21ae Warn about the importance of registering the RichTextEffect 2022-08-15 11:17:59 +02:00
RedMser
6812f487f6 Update RichTextEffect tutorial
The code examples have been updated and the documentation now mentions
that `class_name` is a required part for custom effects to show up in the inspector.
2022-07-24 22:36:52 +02:00
Max Hilbrunner
55c80494c7 Merge pull request #5509 from dalexeev/bgcolor-fgcolor-bbcodes
Document `[bgcolor]` and `[fgcolor]` BBCodes
2022-01-14 03:28:47 +01:00
Danil Alexeev
f47697e1b6 Document [bgcolor] and [fgcolor] BBCodes 2022-01-12 21:05:25 +03:00
Danil Alexeev
d7a41d57f6 Add info about [lb] and [rb] BBCodes 2022-01-12 18:41:30 +03:00
Yuri Sizov
4f67dc3cac Reorganize and update the "BBCode in RichTextLabel" article 2021-09-16 03:52:07 +03:00
Max Hilbrunner
54644d4754 Merge pull request #5246 from Calinou/bbcode-in-richtextlabel-url-handling
Document how to handle clicked `[url]` tags in RichTextLabel
2021-09-16 00:35:33 +02:00
Max Hilbrunner
6fe3279246 Merge pull request #5247 from Calinou/bbcode-in-richtextlabel-rgba-color
Update BBCode in RichTextLabel `[color]` for RGBA color change
2021-09-13 22:41:00 +02:00
Aaron Franke
4060179184 Remove trailing space characters (#5251) 2021-09-13 14:52:39 +02:00
Hugo Locurcio
2fe36082ec Document how to handle clicked [url] tags in RichTextLabel 2021-09-13 02:00:58 +02:00
Hugo Locurcio
78fe1e13c2 Update BBCode in RichTextLabel [color] for RGBA color change
Color codes are now RGBA instead of ARGB in Godot 4.0.
2021-09-13 01:59:15 +02:00
bruvzg
20bcd1307a [Complex Text Layouts] Update tutorials and documentation to match TextServer changes. 2021-05-07 11:29:55 +03:00
Danil Alexeev
e4c408d326 Update docs about named colors in RichTextLabel (#4648)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-02-14 15:58:00 +01:00
Beuc
8d15ca796d Reference Custom Effects property in BBCode in RichTextLabel (#4604)
Custom effects need manual activation.
This information was missing to complete the tutorial.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-01-30 17:07:26 +01:00