MCPcopy
hub / github.com/code-hike/codehike / InlineCode

Function InlineCode

apps/web/components/code.tsx:27–36  ·  view source on GitHub ↗
({ codeblock }: { codeblock: RawCode })

Source from the content-addressed store, hash-verified

25import { tooltip } from "./annotations/tooltip"
26
27export async function InlineCode({ codeblock }: { codeblock: RawCode }) {
28 const highlighted = await highlight(codeblock, theme)
29 return (
30 <Inline
31 code={highlighted}
32 style={highlighted.style}
33 className="selection:bg-editor-selectionBackground"
34 />
35 )
36}
37
38export async function Code({
39 codeblock,

Callers

nothing calls this directly

Calls 1

highlightFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…