Skip to main content

Built and signed on GitHub Actions

A markdown-it plugin that parses and renders Mastodon-style #hashtags

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
4 months ago (0.2.0)
variable hashtag

A markdown-it plugin to parse and render Mastodon-style hashtags.

Type

PluginWithOptions<PluginOptions>

Add Package

deno add jsr:@fedify/markdown-it-hashtag

Import symbol

import { hashtag } from "@fedify/markdown-it-hashtag";

---- OR ----

Import directly with a jsr specifier

import { hashtag } from "jsr:@fedify/markdown-it-hashtag";

Add Package

npx jsr add @fedify/markdown-it-hashtag

Import symbol

import { hashtag } from "@fedify/markdown-it-hashtag";

Add Package

yarn dlx jsr add @fedify/markdown-it-hashtag

Import symbol

import { hashtag } from "@fedify/markdown-it-hashtag";

Add Package

pnpm dlx jsr add @fedify/markdown-it-hashtag

Import symbol

import { hashtag } from "@fedify/markdown-it-hashtag";

Add Package

bunx jsr add @fedify/markdown-it-hashtag

Import symbol

import { hashtag } from "@fedify/markdown-it-hashtag";