sundays/astro.config.mjs
Benjamin A. Shelton 5237aca552
Added [[type: <text>]] Markdown extension for future use.
Currently this is only for adding inline quotations (.e.g the
[text](:quote) markup), but I need to think a little about how to
structure the actual HTML markup for this.
2026-07-18 13:20:22 -06:00

28 lines
737 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import tailwindcss from "@tailwindcss/vite";
import { unified } from '@astrojs/markdown-remark';
import { ScriptureLinks } from './src/utils/rehype';
import { ScriptureMark } from './src/utils/remark';
// https://astro.build/config
export default defineConfig({
base: "/sundays",
trailingSlash: "always",
site: "https://bashelton.com",
integrations: [mdx()],
markdown: {
processor: unified({
rehypePlugins: [ScriptureLinks],
remarkPlugins: [ScriptureMark],
}),
},
vite: {
plugins: [tailwindcss()],
},
server: {
host: true,
port: 8080,
},
});