diff --git a/website/src/components/markdown.tsx b/website/src/components/markdown.tsx index a3bffda..0014a03 100644 --- a/website/src/components/markdown.tsx +++ b/website/src/components/markdown.tsx @@ -114,7 +114,7 @@ export function TableOfContents({ fontWeight: 475, lineHeight: "15.6px", letterSpacing: "-0.04px", - padding: "3px 0", + padding: "5px 0", color: defaultColor, fontFamily: "var(--ll-font-primary)", transition: "color 0.15s ease", @@ -249,6 +249,29 @@ export function Caption({ children }: { children: React.ReactNode }) { ); } +export function A({ href, children }: { href: string; children: React.ReactNode }) { + return ( + { + e.currentTarget.style.textDecoration = "underline"; + }} + onMouseLeave={(e) => { + e.currentTarget.style.textDecoration = "none"; + }} + > + {children} + + ); +} + export function Code({ children }: { children: React.ReactNode }) { return ( @@ -278,6 +301,25 @@ export function Section({ id, title, children }: { id: string; title: string; ch ); } +export function OL({ children }: { children: React.ReactNode }) { + return ( +
    + {children} +
+ ); +} + export function List({ children }: { children: React.ReactNode }) { return (