docs: precede code snippet with standard sentence formatting#2673
docs: precede code snippet with standard sentence formatting#2673
Conversation
zimeg
left a comment
There was a problem hiding this comment.
📝 Notes for the wonderful reviewers!
| app.event('reaction_added', async ({ event, say }) => { | ||
| if (event.reaction === 'calendar') { | ||
| await say({ | ||
| blocks: [{ |
There was a problem hiding this comment.
🪬 note: Refactoring this to make copy and pasting a bit easier!
| - [`chat.startStream`](/reference/methods/chat.startstream) | ||
| - [`chat.appendStream`](/reference/methods/chat.appendstream) | ||
| - [`chat.stopStream`](/reference/methods/chat.stopstream) |
There was a problem hiding this comment.
👁️🗨️ note: Using dashes instead of asterisk to avoid possible confusion with markdown in the listed item-
| - [`chat.stopStream`](/reference/methods/chat.stopstream) | ||
|
|
||
| The Node Slack SDK provides a [`chatStream()`](/tools/node-slack-sdk/reference/web-api/classes/WebClient#chatstream) helper utility to streamline calling these methods. Here's an excerpt from our [Assistant template app](https://github.com/slack-samples/bolt-js-assistant-template) | ||
| The Node Slack SDK provides a [`chatStream()`](/tools/node-slack-sdk/reference/web-api/classes/WebClient#chatstream) helper utility to streamline calling these methods. Here's an excerpt from our [Assistant template app](https://github.com/slack-samples/bolt-js-assistant-template): |
There was a problem hiding this comment.
🗣️ note: This is the big change of the PR!
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ai-apps #2673 +/- ##
========================================
Coverage 93.40% 93.40%
========================================
Files 37 37
Lines 7613 7613
Branches 668 668
========================================
Hits 7111 7111
Misses 497 497
Partials 5 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@haleychaas @srtaalej Thanks for the kind reviews! Let's merge this for a publish soon 🚢 💨 |
Summary
This PR improves the formatting of a code snippet following a link.
Requirements