We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08e119d commit 551ed35Copy full SHA for 551ed35
src/components/in-page/Note/NoteTopic/markdown-render.tsx
@@ -18,6 +18,7 @@ const mdOptions: MarkdownToJSX.Options = {
18
'textEscaped',
19
],
20
forceBlock: true,
21
+ wrapper: ({ children }) => <div className="leading-7">{children}</div>,
22
}
23
export const NoteTopicMarkdownRender: FC<{ children: string }> = memo(
24
(props) => {
src/pages/notes/topics/[topicSlug].tsx
@@ -50,9 +50,7 @@ const TopicDetailPage: NextPage<TopicModel> = (props) => {
50
>
51
<SEO title={`专栏 - ${name}`} />
52
<div className="topic-info -mt-8">
53
- <p>
54
- <span>{props.introduce}</span>
55
- </p>
+ <p className="leading-6">{props.introduce}</p>
56
{props.description && (
57
<>
58
<Divider />
0 commit comments