add gui.clear_markup(...)

This commit is contained in:
MihailRis
2024-12-06 20:13:45 +03:00
parent 98de0d45ef
commit 16698cc68b
3 changed files with 35 additions and 0 deletions
+11
View File
@@ -39,3 +39,14 @@ gui.get_locales_info() -> table of tables {
```
Returns information about all loaded locales (res/texts/\*).
```lua
gui.clear_markup(
-- markup language ("md" - Markdown)
language: str,
-- text with markup
text: str
) -> str
```
Removes markup from text.