@code-hike/mdx
Advanced tools
Comparing version 0.10.0--canary.398.5cf61c0.0 to 0.10.0-next.0
@@ -24,22 +24,2 @@ import { Theme } from '@code-hike/lighter'; | ||
declare type HighlightedToken = { | ||
content: string; | ||
props: { | ||
style?: React.CSSProperties; | ||
}; | ||
}; | ||
declare type HighlightedLine = { | ||
tokens: HighlightedToken[]; | ||
}; | ||
declare type Code = { | ||
lines: HighlightedLine[]; | ||
lang: string; | ||
}; | ||
declare function highlight({ code, lang, theme, }: { | ||
code: string; | ||
lang: string; | ||
theme: any; | ||
}): Promise<Code>; | ||
export { highlight, attacher as remarkCodeHike }; | ||
export { attacher as remarkCodeHike }; |
{ | ||
"name": "@code-hike/mdx", | ||
"version": "0.10.0--canary.398.5cf61c0.0", | ||
"version": "0.10.0-next.0", | ||
"files": [ | ||
@@ -47,3 +47,3 @@ "dist", | ||
"dependencies": { | ||
"@code-hike/lighter": "0.7.0", | ||
"@code-hike/lighter": "0.7.3", | ||
"node-fetch": "^2.0.0" | ||
@@ -98,3 +98,3 @@ }, | ||
}, | ||
"gitHead": "5cf61c0413d644fdb09869cad04ef7faf3c8cc48" | ||
"gitHead": "607b18c7d806efca51babdf96c49969b98943d5a" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
780443
20947
+ Added@code-hike/lighter@0.7.3(transitive)
- Removed@code-hike/lighter@0.7.0(transitive)
Updated@code-hike/lighter@0.7.3