FormatForWhatsApp

Function: formatForWhatsApp()

[object Object]

Defined in: app/util/markdown.util.ts:7

Formats markdown text for WhatsApp by converting it to a format that WhatsApp supports. It handles headers, bold, italic, strikethrough, links, lists, and code formatting.

Parameters

markdown

string | null | undefined

The markdown text to format.

Returns

[object Object]

The formatted text suitable for WhatsApp.

On this page