Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions server/api/code-explorer/[...path].get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { parseMarkdown, type MarkdownDocument } from 'comark'
import rangi from 'comark/plugins/rangi'
import fs from 'comark-content/sources/fs'
import github from 'comark-content/sources/github'
import { cssVariables } from 'rangi/themes'
import { geistTheme } from '../../../utils/geist-theme.ts'

// A read source for one example directory. Dev: working tree. Prod: authenticated GitHub — the repo may be
// private, so jsDelivr / unauthenticated raw are out. Mirrors {@link contentSource}'s dev/prod split.
Expand Down Expand Up @@ -93,7 +93,7 @@ export default defineEventHandler(async (event) => {
}

const highlightPlugin = rangi({
theme: cssVariables,
theme: geistTheme,
})
const fileResults: Record<string, MarkdownDocument> = {}

Expand Down
Loading