From 112309940cde31a0c132588f1f00a8da67063b66 Mon Sep 17 00:00:00 2001 From: Defectink Date: Wed, 6 Apr 2022 16:02:27 +0800 Subject: [PATCH] Add markdown styles --- components/mdx/Image.tsx | 1 - components/post/PostTOC.tsx | 2 +- .../p/{second-post.mdx => markdown-test.mdx} | 40 +++++++-------- styles/prism-one-dark.css | 24 ++++----- styles/prism-one-light.css | 20 ++++---- styles/rua.css | 50 +++++++++++++++++++ 6 files changed, 91 insertions(+), 46 deletions(-) rename pages/p/{second-post.mdx => markdown-test.mdx} (86%) diff --git a/components/mdx/Image.tsx b/components/mdx/Image.tsx index 74e21d9..adfbe8e 100644 --- a/components/mdx/Image.tsx +++ b/components/mdx/Image.tsx @@ -1,4 +1,3 @@ -import cn from 'classnames'; import NextImage from 'next/image'; import { DetailedHTMLProps, ImgHTMLAttributes } from 'react'; diff --git a/components/post/PostTOC.tsx b/components/post/PostTOC.tsx index e700b03..07504c7 100644 --- a/components/post/PostTOC.tsx +++ b/components/post/PostTOC.tsx @@ -11,7 +11,7 @@ const PostTOC: FC = ({ headings }) => { <>

What's inside?

-