Skip to content

Commit

Permalink
add better url support
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Sep 12, 2024
1 parent 8a0e26e commit fd430b3
Show file tree
Hide file tree
Showing 9 changed files with 741 additions and 9 deletions.
7 changes: 4 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
// @ts-check
import { defineConfig } from 'astro/config';

import tailwind from '@astrojs/tailwind';
import rehypeSlug from 'rehype-slug';
import rehypeAutolinkHeadings from 'rehype-autolink-headings';

import {remarkReplaceLinks} from './src/plugins/remark-replace-links.ts';
import mdx from '@astrojs/mdx';

// https://astro.build/config
export default defineConfig({
integrations: [tailwind()],
integrations: [tailwind(), mdx()],
site: 'https://freymaurer.github.io',
base: 'astro-poc',
markdown: {
remarkPlugins: [remarkReplaceLinks()],
rehypePlugins: [
rehypeSlug,
[
Expand Down
Loading

0 comments on commit fd430b3

Please sign in to comment.