mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
Added image resizing support via markdown-it-imsize (#262)
This commit is contained in:
parent
6a808e76d9
commit
6bf214542e
5 changed files with 17 additions and 0 deletions
6
src/external-types/markdown-it-imsize/index.d.ts
vendored
Normal file
6
src/external-types/markdown-it-imsize/index.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
declare module 'markdown-it-imsize' {
|
||||
import MarkdownIt from 'markdown-it/lib'
|
||||
import { ImsizeOptions } from './interface'
|
||||
const markdownItImsize: MarkdownIt.PluginWithOptions<ImsizeOptions>
|
||||
export = markdownItImsize
|
||||
}
|
3
src/external-types/markdown-it-imsize/interface.ts
Normal file
3
src/external-types/markdown-it-imsize/interface.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
export interface ImsizeOptions {
|
||||
autofill?: boolean
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue