chore: markdown for community backend detail
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
import AutoTooltip from '@/components/auto-tooltip';
|
import AutoTooltip from '@/components/auto-tooltip';
|
||||||
|
import FullMarkdown from '@/components/markdown-viewer/full-markdown';
|
||||||
import { BulbOutlined } from '@ant-design/icons';
|
import { BulbOutlined } from '@ant-design/icons';
|
||||||
import { useIntl } from '@umijs/max';
|
import { useIntl } from '@umijs/max';
|
||||||
import { Button, Tag, Typography } from 'antd';
|
import { Button, Tag } from 'antd';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import React, { useEffect } from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
@@ -146,9 +147,7 @@ const BackendDetail: React.FC<{
|
|||||||
</span>
|
</span>
|
||||||
</Subtitle>
|
</Subtitle>
|
||||||
<Content>
|
<Content>
|
||||||
<Typography.Paragraph style={{ whiteSpace: 'pre-line' }}>
|
<FullMarkdown content={currentData?.description}></FullMarkdown>
|
||||||
{currentData?.description}
|
|
||||||
</Typography.Paragraph>
|
|
||||||
</Content>
|
</Content>
|
||||||
</Section>
|
</Section>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user