Added image resizing support via markdown-it-imsize (#262)

This commit is contained in:
Erik Michelson 2020-06-23 21:44:16 +02:00 committed by GitHub
parent 6a808e76d9
commit 6bf214542e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 0 deletions

View 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
}

View file

@ -0,0 +1,3 @@
export interface ImsizeOptions {
autofill?: boolean
}