Use twitter emojis for markdown-it-emoji

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
Tilman Vatteroth 2020-08-08 19:54:08 +02:00 committed by mrdrogdrog
parent 1cf5a3d375
commit cf64110134
3 changed files with 21 additions and 3 deletions

View file

@ -1,6 +1,6 @@
declare module 'markdown-it-emoji' {
import MarkdownIt from 'markdown-it/lib'
const markdownItEmoji: MarkdownIt.PluginSimple
import { EmojiOptions } from './interface'
const markdownItEmoji: MarkdownIt.PluginWithOptions<EmojiOptions>
export = markdownItEmoji
}

View file

@ -0,0 +1,5 @@
export interface EmojiOptions {
defs?: { [key: string]: string },
enabled: string[],
shortcuts?: { [key: string]: string }
}