Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
oneLine`
Some ${Markdown.bold('epic')} ${Markdown.italic('markdown')}
${Markdown.code('right')} ${Markdown.url('there', 'example.com')}!
`,
{
/**
* There are 3 ways to pass Markdown or HTML as a parameter.
*
* First is to pass class into parse_mode.
*/
parse_mode: Markdown,
/**
* Second is to pass .parseMode to get class parse mode
*/
parse_mode: Markdown.parseMode,
/**
* Third is to pass a string
*/
parse_mode: 'Markdown',
},
);
});