diff --git a/docs/HOOKS.md b/docs/HOOKS.md index df2197d4df..4bf551ed1c 100644 --- a/docs/HOOKS.md +++ b/docs/HOOKS.md @@ -1058,7 +1058,7 @@ renderMarkdown('Hello, World!') === '

Hello, World!

\n'; ``` -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). +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). ## `useRenderToast`