File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
1414} from "./mdx-client/annotations"
1515import { Preview } from "./mdx-client/preview"
1616import { InlineCode } from "./mdx-client/inline-code"
17+ import type { MDXComponents } from "mdx/types"
1718
1819export {
1920 Code ,
@@ -31,7 +32,7 @@ export {
3132 PreviewSlot ,
3233}
3334
34- export const CH = {
35+ export const CH : MDXComponents = {
3536 Code,
3637 Section,
3738 SectionLink,
Original file line number Diff line number Diff line change @@ -3,7 +3,12 @@ import { CodeAnnotation } from "../smooth-code"
33import { getColor , transparent , ColorName } from "../utils"
44
55export function Annotation ( ) {
6- return "error: code hike remark plugin not running or annotation isn't at the right place"
6+ return (
7+ < div >
8+ "error: code hike remark plugin not running or
9+ annotation isn't at the right place"
10+ </ div >
11+ )
712}
813
914export const annotationsMap : Record <
You can’t perform that action at this time.
0 commit comments