From 59e05672d058a360b748a014ae9de4851b5a7f69 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Fri, 10 May 2019 15:38:22 -0500 Subject: [PATCH] Convert registering-users.md to use ``` syntax for code blocks The bit about the matrix-make-user-admin script was messed up (it wasn't actually a code block so the "" was hidden). For me at least it seems like the ``` syntax is much harder to accidentally mess up. --- docs/registering-users.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/registering-users.md b/docs/registering-users.md index 9822979de..50dd92a96 100644 --- a/docs/registering-users.md +++ b/docs/registering-users.md @@ -4,11 +4,15 @@ Run this to create a new user account on your Matrix server. You can do it via this Ansible playbook (make sure to edit the `` and `` part below): - ansible-playbook -i inventory/hosts setup.yml --extra-vars='username= password= admin=' --tags=register-user +``` +ansible-playbook -i inventory/hosts setup.yml --extra-vars='username= password= admin=' --tags=register-user +``` **or** using the command-line after **SSH**-ing to your server (requires that [all services have been started](#starting-the-services)): - /usr/local/bin/matrix-synapse-register-user +``` +/usr/local/bin/matrix-synapse-register-user +``` **Note**: `` is just a plain username (like `john`), not your full `@:` identifier. @@ -25,5 +29,6 @@ The script `/usr/local/bin/matrix-make-user-admin` may be used to upgrade a user * log on to your server with ssh * execute with the username: - /usr/local/bin/matrix-make-user-admin - +``` +/usr/local/bin/matrix-make-user-admin +```