From 45ca11ecd0e3d98c140dd4739b31984b6ab8f8ce Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 3 Apr 2024 22:55:04 +0200 Subject: [PATCH] Improve markdown of generated documentation --- src/mod_admin_extra.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index 003d2b5de..fced7c490 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -170,7 +170,7 @@ get_commands_spec() -> #ejabberd_commands{name = delete_old_users, tags = [accounts, purge], desc = "Delete users that didn't log in last days, or that never logged", longdesc = "To protect admin accounts, configure this for example:\n" - "```\n" + "``` yaml\n" "access_rules:\n" " protect_old_users:\n" " - allow: admin\n" @@ -186,7 +186,7 @@ get_commands_spec() -> #ejabberd_commands{name = delete_old_users_vhost, tags = [accounts, purge], desc = "Delete users that didn't log in last days in vhost, or that never logged", longdesc = "To protect admin accounts, configure this for example:\n" - "```\n" + "``` yaml\n" "access_rules:\n" " delete_old_users:\n" " - deny: admin\n"