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.
28 lines
737 B
JavaScript
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,
|
|
},
|
|
});
|