import { prismjsPlugin } from 'vite-plugin-prismjs'
export default () => {
  return prismjsPlugin({
    languages: ['json', 'js', 'xml', 'java', 'sql', 'ts'], //  languages: 'all',
    plugins: ['line-numbers', 'copy-to-clipboard', 'inline-color'], //配置显示行号插件
    theme: 'tomorrow', //主题名称
    css: true
  })
}
