You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added customizable header colors:
Header levels have two new properties: override_font_color and font_color. When override_font_color is true, the headers will have its font color set to the font_color property. When override_font_color is false (default), headers will use the same font color as the rest of the text.
Added the unhandled_link_clicked signal, which is emitted when the MarkdownLabel node does not handle a click on a link automatically.
Added the assume_https_links property (default: true). If enabled, unrecognized links will be opened as HTTPS URLs (e.g. "example.com" will be opened as "https://example.com"). If disabled, unrecognized links will be left unhandled (emitting the unhandled_link_clicked signal). Ignored if automatic_links is disabled.
Refactored the processing of all syntax elements into individual methods so they can be overridden if desired (_process_text_formatting_syntax(), _process_link_syntax(), etc.).
Added two empty methods: _preprocess_line() and _process_custom_syntax() which can be overridden to insert custom syntax.
Fixed bug where a table could break all the following text.