Replace imsize with @hedgedoc/markdown-it-image-size

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2021-09-04 19:39:40 +02:00
parent 7aec58f847
commit bb0dd4d935
5 changed files with 8 additions and 29 deletions

View file

@ -1,12 +0,0 @@
/*
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
declare module 'markdown-it-imsize' {
import MarkdownIt from 'markdown-it/lib'
import { ImsizeOptions } from './interface'
const markdownItImsize: MarkdownIt.PluginWithOptions<ImsizeOptions>
export = markdownItImsize
}

View file

@ -1,9 +0,0 @@
/*
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
export interface ImsizeOptions {
autofill?: boolean
}