diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2017-04-04 20:26:11 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2017-04-04 20:26:11 -0300 |
commit | 0406e01a54dd3217ec7d518aae499268b41c4834 (patch) | |
tree | 07d783af7353eefd96f0785b4d48d4284b3b81c0 /README.md | |
parent | bae9af0cd015880a48e1587eb49adc014cae5d5a (diff) | |
download | perl6-matrix-client-0406e01a54dd3217ec7d518aae499268b41c4834.tar.gz |
Fix formatting on readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 11 insertions, 13 deletions
@@ -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 |