mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
Use twitter emojis for markdown-it-emoji
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
1cf5a3d375
commit
cf64110134
3 changed files with 21 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
5
src/external-types/markdown-it-emoji/interface.d.ts
vendored
Normal file
5
src/external-types/markdown-it-emoji/interface.d.ts
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
export interface EmojiOptions {
|
||||
defs?: { [key: string]: string },
|
||||
enabled: string[],
|
||||
shortcuts?: { [key: string]: string }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue