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 hashtag
hashtag<TContextData>(tag: string): Text<"inline", TContextData>

Creates a hashtag. You can use this function to create a HashtagText tree.

Type Parameters

TContextData

Parameters

The hashtag. It does not matter whether it starts with "#".

Return Type

Text<"inline", TContextData>

A HashtagText 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 { hashtag } from "@fedify/botkit/text";
or

Import directly with a jsr specifier

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