aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2017-04-04 20:26:11 -0300
committerMatias Linares <matiaslina@openmailbox.org>2017-04-04 20:26:11 -0300
commit0406e01a54dd3217ec7d518aae499268b41c4834 (patch)
tree07d783af7353eefd96f0785b4d48d4284b3b81c0
parentbae9af0cd015880a48e1587eb49adc014cae5d5a (diff)
downloadperl6-matrix-client-0406e01a54dd3217ec7d518aae499268b41c4834.tar.gz
Fix formatting on readme
-rw-r--r--README.md24
1 files changed, 11 insertions, 13 deletions
diff --git a/README.md b/README.md
index 37faf20..2e488c9 100644
--- a/README.md
+++ b/README.md
@@ -4,20 +4,18 @@ Simple [matrix](https://matrix.org) client.
# Examples
-From the `examples` directory
+From the `examples` directory:
-```
-use v6;
-use Matrix::Client;
+ use v6;
+ use Matrix::Client;
-# Instantiate a new client for a given home-server
-my $client = Matrix::Client.new: :home-server<https://matrix.org>
-# Login
-$client.login: @*ARGS[0], @*ARGS[1];
+ # Instantiate a new client for a given home-server
+ my $client = Matrix::Client.new: :home-server<https://matrix.org>
+ # Login
+ $client.login: @*ARGS[0], @*ARGS[1];
-# Show all joined rooms
-say $client.rooms;
+ # Show all joined rooms
+ say $client.rooms;
-# And finally logout.
-$client.logout
-```
+ # And finally logout.
+ $client.logout