UNPKG
@svelte-dev/pretty-code
Version:
latest (1.0.0)
1.0.0
0.0.0
Beautiful Svelte code blocks for Markdown or MDsveX.
pretty-code.js.cool
willin/svelte-pretty-code
@svelte-dev/pretty-code
/
dist
/
index.d.ts
3 lines
(2 loc)
•
186 B
TypeScript
View Raw
1
2
3
import
{
type
Options
}
from
'rehype-pretty-code'
;
export
declare
function
createHighlighter
(
options
:
Options
):
(
raw
:
string
,
inputLang
:
string
,
metastring
?:
string
) =>
Promise
<
string
>;