We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3853b10 commit d090484Copy full SHA for d090484
src/templates/mdc-highlighter.ts
@@ -103,8 +103,8 @@ export async function mdcHighlighter({
103
if (options.highlighter === 'custom') {
104
return [
105
'import { getMdcConfigs } from \'#mdc-configs\'',
106
- `export default function (...args) {
107
- ' const configs = await getMdcConfigs()`,
+ 'export default async function (...args) {',
+ ' const configs = await getMdcConfigs()',
108
' for (const config of configs) {',
109
' if (config.highlighter) {',
110
' return config.highlighter(...args)',
0 commit comments