15 lines
386 B
TypeScript
15 lines
386 B
TypeScript
import type { ShikiSetupReturn } from '@slidev/types'
|
|
import { defineShikiSetup } from '@slidev/types'
|
|
|
|
import {
|
|
transformerNotationDiff,
|
|
transformerNotationErrorLevel
|
|
} from '@shikijs/transformers'
|
|
|
|
export default defineShikiSetup((): ShikiSetupReturn => {
|
|
return {
|
|
theme: 'one-dark-pro',
|
|
transformers: [transformerNotationDiff(), transformerNotationErrorLevel()]
|
|
}
|
|
})
|