mirror of
https://github.com/plankanban/planka.git
synced 2025-07-26 00:29:48 +02:00
parent
a6a836c9a0
commit
f8f2d7345e
27 changed files with 341 additions and 94 deletions
|
@ -32,14 +32,12 @@ const Markdown = React.memo(({ linkStopPropagation, ...props }) => {
|
|||
}
|
||||
|
||||
return (
|
||||
/* eslint-disable react/jsx-props-no-spreading */
|
||||
<ReactMarkdown
|
||||
{...props}
|
||||
{...props} // eslint-disable-line react/jsx-props-no-spreading
|
||||
components={components}
|
||||
remarkPlugins={[remarkGfm, remarkBreaks]}
|
||||
className="markdown-body"
|
||||
/>
|
||||
/* eslint-enable react/jsx-props-no-spreading */
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue