Skip to content

Commit 7a670cb

Browse files
committed
added deprecation note
1 parent 9f8e3ae commit 7a670cb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/cmem/markdown/Markdown.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export interface MarkdownProps extends TestableComponent {
4242
/**
4343
* Additional reHype plugins to execute.
4444
* @see https://github.com/remarkjs/react-markdown#architecture
45+
* There will be no support PluggableList from "react-markdown/lib/react-markdown" with the next version (v25), only the new unified one
4546
*/
4647
reHypePlugins?: CompatiblePluggableList;
4748
/**
@@ -157,7 +158,7 @@ export const Markdown = ({
157158
target={linkTargetName}
158159
/>
159160
) : (
160-
<code {...rest} target={linkTargetName} className={className}>
161+
<code {...rest} className={className}>
161162
{children}
162163
</code>
163164
);

0 commit comments

Comments
 (0)