Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert site to SvelteKit #563

Merged
merged 4 commits into from
Jan 22, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix types
  • Loading branch information
benmccann committed Jan 22, 2024
commit 02447ed6d85bdec4fc888271d017a21a6e9e504f
4 changes: 2 additions & 2 deletions packages/mdsvex/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ export type Layout = Record<string, LayoutMeta>;

export type Highlighter = (
code: string,
lang: string | undefined,
metastring: string | undefined
lang: string | null | undefined,
metastring: string | null | undefined
) => string | Promise<string>;
interface HighlightOptions {
/**
Expand Down