1
Fork 0

chore: layout

This commit is contained in:
enscribe 2024-09-10 12:51:03 -07:00
parent b9561ad2d0
commit 230dca64ca
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
27 changed files with 446 additions and 339 deletions

View file

@ -8,10 +8,19 @@ import remarkEmoji from 'remark-emoji'
import remarkMath from 'remark-math'
import remarkToc from 'remark-toc'
import react from '@astrojs/react'
// https://astro.build/config
export default defineConfig({
site: 'https://astro-micro-academic.vercel.app',
integrations: [tailwind(), sitemap(), mdx()],
integrations: [
tailwind({
applyBaseStyles: false,
}),
sitemap(),
mdx(),
react(),
],
markdown: {
shikiConfig: {
theme: 'css-variables',
@ -19,5 +28,11 @@ export default defineConfig({
rehypePlugins: [rehypeHeadingIds, rehypeKatex],
remarkPlugins: [remarkToc, remarkMath, remarkEmoji],
},
server: { port: 1234, host: true },
server: {
port: 1234,
host: true,
},
devToolbar: {
enabled: false,
},
})