~repos /website

#astro#js#html#css

git clone https://pyrossh.dev/repos/website.git

木 Personal website of pyrossh. Built with astrojs, shiki, vite.



ec.config.mjs



import { defineEcConfig } from 'astro-expressive-code';
export default defineEcConfig({
// themes: [],
shiki: {
langAlias: {
h: 'c',
ino: 'c',
mm: 'c',
plum: 'txt',
mi: 'txt',
scm: 'txt',
podspec: 'txt',
lock: 'txt',
xcconfig: 'txt',
plist: 'xml',
xcworkspacedata: 'xml',
xcsettings: 'xml',
storyboard: 'txt',
pbxproj: 'txt',
mjs: 'javascript',
snap: 'javascript',
gradle: 'groovy',
class: 'java',
mod: 'go',
sum: 'go',
},
},
styleOverrides: {
codeFontSize: '0.8rem',
uiFontSize: '0.8rem',
// frames: {
// shadowColor: '#124',
// },
},
})