mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor(site): use our Link component in Markdown instead of MUI (#26758)
ref DEVEX-517 MUI's `Link` color does not come from our design system, whereas our `Link`'s does
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { Interpolation, Theme } from "@emotion/react";
|
||||
import Link from "@mui/material/Link";
|
||||
import isEqual from "lodash/isEqual";
|
||||
import {
|
||||
createElement,
|
||||
@@ -14,6 +13,7 @@ import ReactMarkdown, { type Options } from "react-markdown";
|
||||
import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
|
||||
import { dracula } from "react-syntax-highlighter/dist/cjs/styles/prism";
|
||||
import gfm from "remark-gfm";
|
||||
import { Link } from "#/components/Link/Link";
|
||||
import {
|
||||
Table,
|
||||
TableBody,
|
||||
|
||||
Reference in New Issue
Block a user