From caee8eeff35b8c8d5fd5f83db72156d804485dde Mon Sep 17 00:00:00 2001 From: Bradley Pierce Date: Sat, 27 Jan 2024 10:17:55 -0500 Subject: [PATCH] Fix some indentation --- doc/android.md | 10 +++++----- doc/client_lua_api.md | 4 ++-- doc/lua_api.md | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/android.md b/doc/android.md index bc5b56aba2..04be0b83f0 100644 --- a/doc/android.md +++ b/doc/android.md @@ -17,11 +17,11 @@ shown), the following controls are available: * Press back: Pause menu * Touch buttons: Press button * Buttons: - 1. Upper-left corner: Chat - 2. Lower-right corner: Jump - 3. Lower-right corner: Crouch - 4. Lower-left corner (Joystick): Walk - 5. Lower-left corner: Display inventory + 1. Upper-left corner: Chat + 2. Lower-right corner: Jump + 3. Lower-right corner: Crouch + 4. Lower-left corner (Joystick): Walk + 5. Lower-left corner: Display inventory When a menu or inventory is displayed: * Double tap outside menu area / Press back: Close menu diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index 54b70a63ae..173650132d 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -561,8 +561,8 @@ Call these functions only at load time! * Example: `write_json({10, {a = false}})`, returns `"[10, {\"a\": false}]"` > [!WARNING] > JSON is more strict than the Lua table format. -> 1. You can only use strings and positive integers of at least one as keys. -> 2. You cannot mix string and integer keys. This is due to the fact that JSON has +> 1. You can only use strings and positive integers of at least one as keys. +> 2. You cannot mix string and integer keys. This is due to the fact that JSON has > two distinct array and object values. * `minetest.serialize(table)`: returns a string * Convert a table containing tables, strings, numbers, booleans and `nil`s diff --git a/doc/lua_api.md b/doc/lua_api.md index 98aeac72f7..109ead9a07 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -3060,8 +3060,8 @@ background elements are drawn before all other elements. * Show a dropdown field > [!NOTE] > There are two different operation modes: -> 1. handle directly on change (only changed dropdown is submitted) -> 2. read the value on pressing a button (all dropdown values are available) +> 1. handle directly on change (only changed dropdown is submitted) +> 2. read the value on pressing a button (all dropdown values are available) * `X` and `Y`: position of the dropdown * `W`: width of the dropdown. Height is automatically chosen with this syntax. * Fieldname data is transferred to Lua @@ -3080,8 +3080,8 @@ background elements are drawn before all other elements. > [!NOTE] > There are two different operation modes: -> 1. handle directly on change (only changed dropdown is submitted) -> 2. read the value on pressing a button (all dropdown values are available) +> 1. handle directly on change (only changed dropdown is submitted) +> 2. read the value on pressing a button (all dropdown values are available) * `X` and `Y`: position of the dropdown * `W` and `H`: width and height of the dropdown * Fieldname data is transferred to Lua