UNPKG

@digitalocean/do-markdownit

Version:

Markdown-It plugin for the DigitalOcean Community.

16 lines (15 loc) 435 B
declare namespace _exports { export { UserMentionOptions }; } declare const _exports: import('markdown-it').PluginWithOptions<UserMentionOptions>; export = _exports; type UserMentionOptions = { /** * A pattern to match user mentions, applied to the string after the `@` symbol. */ pattern?: RegExp; /** * A function to get the URL path for a user mention. */ path?: (arg0: string) => string; };