Socket
Book a DemoInstallSign in
Socket

@xmtp/content-type-markdown

Package Overview
Dependencies
Maintainers
6
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xmtp/content-type-markdown

An XMTP content type to support messages using markdown

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
6
Created
Source

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-markdown

Send 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.

Keywords

xmtp

FAQs

Package last updated on 26 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts