File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
- import type { Options , PresetName } from 'markdown-it'
1
+ import type {
2
+ PluginSimple as MarkdownItPluginSimple ,
3
+ PluginWithOptions as MarkdownItPluginWithOptions ,
4
+ PluginWithParams as MarkdownItPluginWithParams ,
5
+ Options ,
6
+ PresetName ,
7
+ } from 'markdown-it'
2
8
import MarkdownIt from 'markdown-it'
3
9
4
- export type PluginSimple = ( ( md : MarkdownItAsync ) => void ) | MarkdownIt . PluginSimple
5
- export type PluginWithOptions < T = any > = ( ( md : MarkdownItAsync , options ?: T ) => void ) | MarkdownIt . PluginWithOptions < T >
6
- export type PluginWithParams = ( ( md : MarkdownItAsync , ...params : any [ ] ) => void ) | MarkdownIt . PluginWithParams
10
+ export type PluginSimple = ( ( md : MarkdownItAsync ) => void ) | MarkdownItPluginSimple
11
+ export type PluginWithOptions < T = any > = ( ( md : MarkdownItAsync , options ?: T ) => void ) | MarkdownItPluginWithOptions < T >
12
+ export type PluginWithParams = ( ( md : MarkdownItAsync , ...params : any [ ] ) => void ) | MarkdownItPluginWithParams
7
13
8
14
export interface MarkdownItAsyncOptions extends Omit < Options , 'highlight' > {
9
15
/**
You can’t perform that action at this time.
0 commit comments