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

@fedify/botkit@0.2.0-dev.77+d1f283de
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
3 weeks ago (0.2.0-dev.77+d1f283de)
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.

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";