@fedify/markdown-it-mention
Version:
A markdown-it plugin that parses and renders Mastodon-style @mentions.
15 lines • 515 B
TypeScript
/**
* Converts a full handle to a bare handle.
* @param handle The full handle.
* @param env The environment.
* @returns The bare handle without the domain in HTML.
*/
export declare function toBareHandle(handle: string, _env: any): string;
/**
* Does nothing, but just returns the full handle in HTML.
* @param handle The full handle.
* @param env The environment.
* @returns The full handle.
*/
export declare function toFullHandle(handle: string, _env: any): string;
//# sourceMappingURL=label.d.ts.map