diff --git a/doc/en/xml-ui-layouts.md b/doc/en/xml-ui-layouts.md index d77a93ed..e7008682 100644 --- a/doc/en/xml-ui-layouts.md +++ b/doc/en/xml-ui-layouts.md @@ -87,6 +87,7 @@ Inner text is a button text. - `autoresize` - automatic change of element size (default - false). Does not affect font size. - `multiline` - allows display of multiline text. - `text-wrap` - allows automatic text wrapping (works only with multiline: "true"). +- `markup` - text markup language ("md" - Markdown). ## *image* @@ -112,6 +113,8 @@ Inner text - initially entered text - `validator` - lua function that checks text for correctness. Takes a string as input, returns true if the text is correct. - `onup` - lua function called when the up arrow is pressed. - `ondown` - lua function called when the down arrow is pressed. +- `syntax` - syntax highlighting ("lua" - Lua). +- `markup` - text markup language ("md" - Markdown). ## *trackbar* diff --git a/doc/ru/xml-ui-layouts.md b/doc/ru/xml-ui-layouts.md index 5c71690f..1ad93c4f 100644 --- a/doc/ru/xml-ui-layouts.md +++ b/doc/ru/xml-ui-layouts.md @@ -89,6 +89,7 @@ - `autoresize` - автоматическое изменение размера элемента (по-умолчанию - false). Не влияет на размер шрифта. - `multiline` - разрешает отображение многострочного текста. - `text-wrap` - разрешает автоматический перенос текста (работает только при multiline: "true") +- `markup` - язык разметки текста ("md" - Markdown). ## Изображение - *image* @@ -113,6 +114,8 @@ - `validator` - lua функция, проверяющая текст на корректность. Принимает на вход строку, возвращает true если текст корректен. - `onup` - lua функция вызываемая при нажатии стрелки вверх. - `ondown` - lua функция вызываемая при нажатии стрелки вниз. +- `syntax` - подстветка синтаксиса ("lua" - Lua). +- `markup` - язык разметки текста ("md" - Markdown). ## Ползунок - *trackbar*