Skip to main content
Home
This release is a pre-release — the latest non-prerelease version of @fedify/botkit is 0.2.1. Jump to this version

@fedify/botkit@0.3.0-dev.119+a1068dd9
Built and signed on GitHub Actions

A framework for creating ActivityPub bots

This package works with Deno
This package works with Deno
JSR Score
88%
Published
a week ago (0.3.0-dev.119+a1068dd9)
function markdown
markdown<TContextData>(
content: string,
): Text<"block", TContextData>

Renders a Markdown text. You can use this function to create a MarkdownText tree. The mentions in the Markdown text will be rendered as links unless the mentions option is set to false.

Type Parameters

TContextData

Parameters

content: string

The Markdown content.

optional
options: MarkdownTextOptions

The options for rendering the Markdown content.

Return Type

Text<"block", TContextData>

A MarkdownText tree.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fedify/botkit

Import symbol

import { markdown } from "@fedify/botkit/text";
or

Import directly with a jsr specifier

import { markdown } from "jsr:@fedify/botkit/text";