From 0406e01a54dd3217ec7d518aae499268b41c4834 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 4 Apr 2017 20:26:11 -0300 Subject: Fix formatting on readme --- README.md | 24 +++++++++++------------- 1 file 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 -# Login -$client.login: @*ARGS[0], @*ARGS[1]; + # Instantiate a new client for a given home-server + my $client = Matrix::Client.new: :home-server + # 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 -- cgit v1.2.3-70-g09d2