Skip to content

Commit b72725d

Browse files
Fixed broken renderMarkdown link in HOOKS documentation (#4971)
Co-authored-by: William Wong <[email protected]>
1 parent 7bcce0c commit b72725d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/HOOKS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ renderMarkdown('Hello, World!') === '<p>Hello, World!</p>\n';
10581058
```
10591059
<!-- prettier-ignore-end -->
10601060
1061-
The Markdown engine can be reconfigured by passing `renderMarkdown` prop to Web Chat. The default engine is a customized [Markdown-It](https://npmjs.com/package/markdown-it) with [HTML sanitizer](https://npmjs.com/package/sanitize-html) and [support `aria-label` attribute](https://npmjs.com/package/markdown-it-attrs). The customization can be found in [bundle/src/renderMarkdown.js](https://github.com/microsoft/BotFramework-WebChat/tree/main/packages/bundle/src/renderMarkdown.js).
1061+
The Markdown engine can be reconfigured by passing `renderMarkdown` prop to Web Chat. The default engine is a customized [Markdown-It](https://npmjs.com/package/markdown-it) with [HTML sanitizer](https://npmjs.com/package/sanitize-html) and [support `aria-label` attribute](https://npmjs.com/package/markdown-it-attrs). The customization can be found in [bundle/src/markdown/renderMarkdown.ts](https://github.com/microsoft/BotFramework-WebChat/tree/main/packages/bundle/src/markdown/renderMarkdown.ts).
10621062
10631063
## `useRenderToast`
10641064

0 commit comments

Comments
 (0)