From ad79c9a7d638a0aab605481037fb1c9267c8b22f Mon Sep 17 00:00:00 2001 From: Evgeny Date: Wed, 18 Oct 2023 09:08:27 +0400 Subject: [PATCH] Update README --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c1d5c49..d07be40 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,11 @@ The type of script is determined by the line (meta tag) at the beginning of the # Changelog +### 4.9.2 + +* The `apps` module now has an `app()` function that returns selected app table +* You can use `%%fa:ICON_NAME%%` tag in the any text to show FontAwesome icon inside the text + ### 4.9.0 * The `apps` module now has an `apps()` function that returns a table with app details, including the app icon; @@ -140,6 +145,12 @@ First line
Second line You can also use Markdown markup. To do this, add the prefix `%%mkd%%` to the beginning of the line. Or you can disable the formatting completely with the prefix `%%txt%%`. +You can insert FontAwesome icons inside the text, to do this use this syntax: `%%fa:ICON_NAME%%. For example: + +``` +ui:show_text("This is the text with icons %%fa:face-smile%% %%fa:poo%% and styles") +``` + The `ui:show_buttons()` function supports Fontawesome icons. Simply specify `fa:icon_name` as the button name, for example: `fa:play`. (Note: AIO only supports icons up to Fontawesome 6.3.0.) ## Dialogs @@ -349,7 +360,8 @@ end ## Application management -* `apps:apps([sort_by])` - returns the table of tables of all installed applications +* `apps:apps([sort_by])` - returns the table of tables of all installed applications; +* `apps:app(package_name)` - return the table of tables of the given application; , `sort_by` - sort option (see below); * `apps:launch(package)` - launches the application; * `apps:show_edit_dialog(package)` - shows edit dialog of the application;