Skip to content

Commit 01d19f8

Browse files
klardotshalexmv
authored andcommitted
markdown: Lint and fix with prettier.
1 parent 53062ee commit 01d19f8

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"private": true,
55
"description": "Zulip GitHub Actions",
66
"scripts": {
7-
"lint": "eslint ./src",
8-
"lint:fix": "eslint --fix ./src",
7+
"lint": "eslint ./src; prettier --check --loglevel=warn **/*.md",
8+
"lint:fix": "eslint --fix ./src; prettier --check --write --loglevel=warn **/*.md",
99
"package": "ncc build src/send-message.ts -o dist/send-message",
1010
"test": "npm run lint"
1111
},

send-message/README.md

+13-11
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,30 @@ Format your message using [Zulip Markdown](https://zulip.com/help/format-your-me
4040
## Example usage
4141

4242
**Send a stream message**
43+
4344
```yml
4445
- name: Send a stream message
4546
uses: zulip/github-actions-zulip/send-message@v1
4647
with:
4748
api-key: ${{ secrets.ZULIP_API_KEY }}
48-
49-
organization-url: 'https://org.zulipchat.com'
50-
to: 'social'
51-
type: 'stream'
52-
topic: 'Castle'
53-
content: 'I come not, friends, to steal away your hearts.'
49+
50+
organization-url: "https://org.zulipchat.com"
51+
to: "social"
52+
type: "stream"
53+
topic: "Castle"
54+
content: "I come not, friends, to steal away your hearts."
5455
```
5556
5657
**Send a private message**
58+
5759
```yml
5860
- name: Send a private message
5961
uses: zulip/github-actions-zulip/send-message@v1
6062
with:
6163
api-key: ${{ secrets.ZULIP_API_KEY }}
62-
63-
organization-url: 'https://org.zulipchat.com'
64-
to: '9' # user_id
65-
type: 'private'
66-
content: 'With mirth and laughter let old wrinkles come.'
64+
65+
organization-url: "https://org.zulipchat.com"
66+
to: "9" # user_id
67+
type: "private"
68+
content: "With mirth and laughter let old wrinkles come."
6769
```

0 commit comments

Comments
 (0)