diff --git a/src/core.gd b/src/core.gd index 311acf8..5742a95 100644 --- a/src/core.gd +++ b/src/core.gd @@ -197,13 +197,13 @@ func is_devmode() -> bool: # Replaces variables with human-friendly strings ## Replaces placeholders with human-friendly strings You can use the following placeholders:[br] -## - `%release%`: Returns the release number.[br] -## - `%release_type%`: Returns the typerelease number[br] -## - `%release_semantic%`: Returns the result of [method Core.get_version_semantic], example [i]5.2.3[/i][br] -## - `%type%`: Returns the release type as a word, for example [i]Release Candidate[/i][br] -## - `%type_technical%`: Returns the release type as one or two lowercase letters, for example [i]rc[/i][br] -## - `%devmode%`: Returns the development mode status[br] -## - `%headless%`: Returns the headless mode status +## - [code]%release%[/code]: Returns the release number.[br] +## - [code]%release_type%[/code]: Returns the typerelease number[br] +## - [code]%release_semantic%[/code]: Returns the result of [method Core.get_version_semantic], example [i]5.2.3[/i][br] +## - [code]%type%[/code]: Returns the release type as a word, for example [i]Release Candidate[/i][br] +## - [code]%type_technical%[/code]: Returns the release type as one or two lowercase letters, for example [i]rc[/i][br] +## - [code]%devmode%[/code]: Returns the development mode status[br] +## - [code]%headless%[/code]: Returns the headless mode status func get_formatted_string(string: String) -> String: # Version strings string = string.replace("%release%", str(version_release))