add gui.escape_markup

This commit is contained in:
MihailRis
2024-12-06 20:25:21 +03:00
parent 16698cc68b
commit 467b4ad043
5 changed files with 56 additions and 3 deletions
+11
View File
@@ -50,3 +50,14 @@ gui.clear_markup(
```
Removes markup from text.
```lua
gui.escape_markup(
-- markup language ("md" - Markdown)
language: str,
-- text with markup
text: str
) -> str
```
Escapes markup in text.