mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
fix: correct docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
d792fd3987
commit
7abbe79ec9
2 changed files with 3 additions and 3 deletions
|
@ -21,12 +21,13 @@ export interface MarkdownToReactProps {
|
|||
}
|
||||
|
||||
/**
|
||||
* Renders Markdown code.
|
||||
* Renders Markdown code as DOM
|
||||
*
|
||||
* @param markdownContentLines The Markdown code lines that should be rendered
|
||||
* @param additionalMarkdownExtensions A list of {@link MarkdownRendererExtension markdown extensions} that should be used
|
||||
* @param newlinesAreBreaks Defines if the alternative break mode of markdown it should be used
|
||||
* @param allowHtml Defines if html is allowed in markdown
|
||||
* @see https://markdown-it.github.io/
|
||||
*/
|
||||
export const MarkdownToReact: React.FC<MarkdownToReactProps> = ({
|
||||
markdownContentLines,
|
||||
|
|
|
@ -28,7 +28,7 @@ export interface MarkdownDocumentProps extends RendererProps {
|
|||
}
|
||||
|
||||
/**
|
||||
* Renders a markdown document and handles scrolling, yaml metadata and a floating table of contents.
|
||||
* Renders a Markdown document and handles scrolling, yaml metadata and a floating table of contents.
|
||||
*
|
||||
* @param additionalOuterContainerClasses Additional classes given to the outer container directly
|
||||
* @param additionalRendererClasses Additional classes given {@link DocumentMarkdownRenderer} directly
|
||||
|
@ -40,7 +40,6 @@ export interface MarkdownDocumentProps extends RendererProps {
|
|||
* @param onHeightChange The callback to call if the height of the document changes
|
||||
* @param disableToc If the table of contents should be disabled.
|
||||
* @param newLinesAreBreaks Defines if the provided markdown content should treat new lines as breaks
|
||||
* @see https://markdown-it.github.io/
|
||||
*/
|
||||
export const MarkdownDocument: React.FC<MarkdownDocumentProps> = ({
|
||||
additionalOuterContainerClasses,
|
||||
|
|
Loading…
Reference in a new issue