From 99eab830d264d0efb4dd1ae98ffc2e2690cd5d47 Mon Sep 17 00:00:00 2001 From: Tristan Helmich Date: Tue, 6 Oct 2020 22:52:15 +0000 Subject: [PATCH] Update README.md with markdown example --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 054b4d7..61885ab 100644 --- a/README.md +++ b/README.md @@ -64,12 +64,16 @@ jobs: steps: - name: Send message to test channel id: matrix-chat-message - uses: fadenb/matrix-chat-message@v0.0.2 + uses: fadenb/matrix-chat-message@v0.0.6 with: homeserver: 'matrix.org' token: ${{ secrets.MATRIX_TOKEN }} channel: '' - message: 'This is an example message. It even supports the use of variables like ${{ github.sha }}' + message: | + This is an *example message* using **markdown** for formatting.\ + Use a `\` character at the end of a line to cause a linebreak (the whole message is treated as markdown).\ + You can use variables like ${{ github.sha }} anywhere. + ``` * Replace matrix.org with the address of your server.