mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Fix manual tables (#978)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React, { useEffect, useState } from "react";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import gfm from "remark-gfm";
|
||||
|
||||
interface IPageProps {
|
||||
// page is a markdown module
|
||||
@@ -18,5 +19,7 @@ export const MarkdownPage: React.FC<IPageProps> = ({ page }) => {
|
||||
}
|
||||
}, [page, markdown]);
|
||||
|
||||
return <ReactMarkdown className="markdown" source={markdown} />;
|
||||
return (
|
||||
<ReactMarkdown className="markdown" source={markdown} plugins={[gfm]} />
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user