mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +00:00
Add markdown styles
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import cn from 'classnames';
|
||||
import NextImage from 'next/image';
|
||||
import { DetailedHTMLProps, ImgHTMLAttributes } from 'react';
|
||||
|
||||
|
@ -11,7 +11,7 @@ const PostTOC: FC<Props> = ({ headings }) => {
|
||||
<>
|
||||
<h2>What's inside?</h2>
|
||||
|
||||
<ul className="pl-4 border-l-4 border-gray-300">
|
||||
<ul className="pl-4 border-l-4 border-gray-300 toc">
|
||||
{headings?.map((h) => (
|
||||
<li key={h.link}>
|
||||
<Anchor href={h.link} external={false}>
|
||||
|
Reference in New Issue
Block a user