We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f8e3ae commit 7a670cbCopy full SHA for 7a670cb
1 file changed
src/cmem/markdown/Markdown.tsx
@@ -42,6 +42,7 @@ export interface MarkdownProps extends TestableComponent {
42
/**
43
* Additional reHype plugins to execute.
44
* @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
46
*/
47
reHypePlugins?: CompatiblePluggableList;
48
@@ -157,7 +158,7 @@ export const Markdown = ({
157
158
target={linkTargetName}
159
/>
160
) : (
- <code {...rest} target={linkTargetName} className={className}>
161
+ <code {...rest} className={className}>
162
{children}
163
</code>
164
);
0 commit comments