diff --git a/apps/docs/app/(diffs)/_components/WorkerPoolContext.tsx b/apps/docs/app/(diffs)/_components/WorkerPoolContext.tsx index e71160e44..16bb6445f 100644 --- a/apps/docs/app/(diffs)/_components/WorkerPoolContext.tsx +++ b/apps/docs/app/(diffs)/_components/WorkerPoolContext.tsx @@ -60,6 +60,7 @@ const HighlighterOptions: WorkerInitializationRenderOptions = { 'cpp', 'css', 'go', + 'markdown', 'python', 'rust', 'sh', diff --git a/apps/docs/app/(diffs)/_examples/ArbitraryFiles/ArbitraryFiles.tsx b/apps/docs/app/(diffs)/_examples/ArbitraryFiles/ArbitraryFiles.tsx index 4b18a1ce4..ea5c9c23d 100644 --- a/apps/docs/app/(diffs)/_examples/ArbitraryFiles/ArbitraryFiles.tsx +++ b/apps/docs/app/(diffs)/_examples/ArbitraryFiles/ArbitraryFiles.tsx @@ -21,16 +21,15 @@ export function ArbitraryFiles({ prerenderedDiff }: ArbitraryFilesProps) { title="Diff arbitrary files" description={ <> - In addition to rendering standard Git diffs and patches, you can - pass any two files in @pierre/diffs and get a diff - between them. This is especially useful when comparing across + You can also pass any two files in @pierre/diffs to + diff them. This is especially useful when comparing across generative snapshots where linear history isn't always available. - Edit the css below to see the diff. + Edit the CSS files below to see the diff. } /> -
+
before.css
); @@ -84,7 +83,7 @@ function FileTextarea({ value, onChange, className = '' }: FileTextareaProps) {