UNPKG

@fedify/markdown-it-mention

Version:

A markdown-it plugin that parses and renders Mastodon-style @mentions.

17 lines (16 loc) 493 B
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. // This module is browser compatible. /** * Functions for HTML tasks such as escaping or unescaping HTML entities. * * ```ts * import { unescape } from "@std/html/entities"; * import { assertEquals } from "@std/assert/assert-equals"; * * assertEquals(unescape("&lt;&gt;&#39;&amp;AA"), "<>'&AA"); * assertEquals(unescape("&thorn;&eth;"), "&thorn;&eth;"); * ``` * * @module */ export * from "./entities.js";