Commented out unused imports and disabled loading of themes
This commit is contained in:
parent
932fe925ea
commit
90ff102900
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@matthiesenxyz/astro-gists": patch
|
||||
---
|
||||
|
||||
bug fix, disable theme system for the moment
|
|
@ -1,11 +1,11 @@
|
|||
import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers'
|
||||
import { ExpressiveCode } from 'expressive-code'
|
||||
import config from "virtual:astro-gists/config";
|
||||
import { loadTheme } from "./theming";
|
||||
// import config from "virtual:astro-gists/config";
|
||||
// import { loadTheme } from "./theming";
|
||||
|
||||
export { default as Code } from './components/Code.astro'
|
||||
|
||||
export const engine = new ExpressiveCode({
|
||||
themes: await loadTheme(config.theme),
|
||||
//themes: await loadTheme(config.theme),
|
||||
plugins: [pluginLineNumbers()],
|
||||
})
|
Loading…
Reference in New Issue