UNPKG

interweave-autolink

Version:

URL, IP, email, and hashtag autolinking support for Interweave.

9 lines 445 B
import { ChildrenNode, Matcher, MatchResponse, Node } from 'interweave'; import { HashtagProps } from './types'; export declare type HashtagMatch = Pick<HashtagProps, 'hashtag'>; export declare class HashtagMatcher extends Matcher<HashtagProps> { replaceWith(children: ChildrenNode, props: HashtagProps): Node; asTag(): string; match(string: string): MatchResponse<HashtagMatch> | null; } //# sourceMappingURL=HashtagMatcher.d.ts.map