MarkdownLabel's icon

MarkdownLabel 1.1.0 2D Tools 4.2 Community

Submitted by user daenvil; MIT; 2023-12-16

A custom node that extends RichTextLabel to use Markdown instead of BBCode.

# Usage:

Simply add a MarkdownLabel node to the scene and write its ``markdown_text`` field in Markdown format.

In the RichTextLabel properties:

- ``bbcode_enabled`` property must be enabled.
- Do not touch the ``text`` property, since it's internally used by MarkdownLabel to properly format its text.
- You can use the rest of its properties as normal.

You can still use BBCode tags that don't have a Markdown equivalent, such as ``[color=green]underlined text[/color]``, allowing you to have the full functionality of RichTextLabel with the simplicity and readibility of Markdown.

For more detailed info, check out the README file in the Github repository.


View files Download Submit an issue Recent Edits