mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 05:38:34 +00:00
38 lines
918 B
JavaScript
38 lines
918 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import preact from '@astrojs/preact';
|
|
import react from '@astrojs/react';
|
|
|
|
// https://astro.build/config
|
|
import mdx from '@astrojs/mdx';
|
|
|
|
import remarkToc from 'remark-toc';
|
|
import rehypeSlug from 'rehype-slug';
|
|
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
|
|
|
|
// https://astro.build/config
|
|
|
|
// https://astro.build/config
|
|
import tailwind from '@astrojs/tailwind';
|
|
|
|
const options = {
|
|
// See https://mdxjs.com/advanced/plugins
|
|
remarkPlugins: [
|
|
remarkToc,
|
|
// E.g. `remark-frontmatter`
|
|
],
|
|
rehypePlugins: [rehypeSlug, rehypeAutolinkHeadings],
|
|
};
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [
|
|
// Enable Preact to support Preact JSX components.
|
|
preact(),
|
|
// Enable React for the Algolia search component.
|
|
react(),
|
|
mdx(options),
|
|
tailwind(),
|
|
],
|
|
site: `https://strudel.tidalcycles.org`,
|
|
});
|