@xmtp/content-type-markdown
v1.0.0
Published
An XMTP content type to support messages using markdown
Downloads
4,666
Readme
Markdown content type
This package provides an XMTP content type to support markdown in messages.
Install the package
# npm
npm i @xmtp/content-type-markdown
# yarn
yarn add @xmtp/content-type-markdown
# pnpm
pnpm i @xmtp/content-type-markdownSend a message with markdown
const markdown = `
# Test
This is a markdown message with **bold** and *italic* text.
`;
await conversation.send(markdown, ContentTypeMarkdown);Developing
Run yarn dev to build the content type and watch for changes, which will trigger a rebuild.
For more information on contributing to this repository, see our contributing guidelines.
