mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-01 14:21:57 -05:00
e390c0dd15
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
16 lines
444 B
TypeScript
16 lines
444 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
import type { Ref } from 'react'
|
|
|
|
export interface CommonMarkdownRendererProps {
|
|
onFirstHeadingChange?: (firstHeading: string | undefined) => void
|
|
baseUrl: string
|
|
outerContainerRef?: Ref<HTMLDivElement>
|
|
newlinesAreBreaks?: boolean
|
|
lineOffset?: number
|
|
className?: string
|
|
markdownContentLines: string[]
|
|
}
|