Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen committed Jan 5, 2025
1 parent 4a3d468 commit 5e4509c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/markdown-remark/src/integration/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import { shared } from './shared.js';

const processor = await createMarkdownProcessor({
...shared.markdownConfig,
callouts: {
theme: 'obsidian',
},
});

/**
Expand Down
4 changes: 2 additions & 2 deletions packages/markdown-remark/src/processor/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export interface AstroMarkdownOptions {
}

export interface StudioCMSMarkdownOptions extends AstroMarkdownOptions {
callouts: {
theme: 'github' | 'obsidian' | 'vitepress';
callouts?: {
theme?: 'github' | 'obsidian' | 'vitepress';
};
}

Expand Down

0 comments on commit 5e4509c

Please sign in to comment.