Commit Graph

10 Commits

Author SHA1 Message Date
89ea5b4684 feat(mdx-preview): integrate CodeBlockWithCopy for enhanced code block functionality 2025-02-26 14:32:11 +08:00
037f8f625d fix(mdx-preview): comment out unused rehype plugins and adjust ScrollArea max height 2025-02-26 11:34:46 +08:00
844e9f0cca fix(mdx-preview): adjust max height calculation for ScrollArea component 2025-02-26 11:05:33 +08:00
2e33dea853 feat(mdx-preview): add support for math rendering with KaTeX 2025-02-25 15:09:44 +08:00
50d1f4cf8e refactor(editor): update editor configuration paths and values 2025-02-25 14:39:55 +08:00
93bcd45c8a fix(editor): update height classes for code editor and MDX preview components 2025-02-24 12:32:48 +08:00
3b89e5de0e fix(editor): adjust height calculation for code editor and MDX preview components 2025-02-24 11:45:31 +08:00
88be7cbf58 fix(layout): adjust height calculations for improved layout consistency 2025-02-23 20:31:28 +08:00
f7e94564be feat(components/mdx-preview): add rehype-slug and rehype-autolink-headings for MDX previews
This commit adds `rehype-slug` and `rehype-autolink-headings` to the MDX preview component.

- `rehype-slug` generates unique IDs for headings.
- `rehype-autolink-headings` adds anchor links to headings, improving navigation.

This enhances the usability of MDX previews by enabling users to easily link to specific sections within the content.
2025-02-23 15:02:36 +08:00
a699fc8069 refactor(components): rename problem-description.tsx to mdx-preview.tsx 2025-02-21 21:06:06 +08:00