JSR

Built and signed on GitHub Actions

Works with

This package works with Deno

This package works with Deno

JSR Score88%

License

AGPL-3.0-only

Downloads85/wk

Published6 days ago (0.5.2)

A framework for creating ActivityPub bots

A text tree that renders a custom emoji. You normally don't need to instantiate this directly; use the customEmoji function instead.

Constructors

Parameters

The custom emoji to render.

Type Parameters

The type of the context data.

Properties

The type of the text. It can be either "block" or "inline".

Methods

Gets cached objects. The result of this method depends on whether getHtml or getTags has been called before. It's used for optimizing the post rendering process, e.g., reusing once fetched remote objects.

Gets the emoji object. If the emoji is a deferred emoji, it will be resolved with the given session.

Render a text tree as HTML.

Read the original on jsr.io ↗