forked from OctopusDeploy/docs
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathastro.config.mjs
More file actions
29 lines (28 loc) · 753 Bytes
/
Copy pathastro.config.mjs
File metadata and controls
29 lines (28 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import remarkDirective from 'remark-directive';
import remarkHeading from 'remark-heading-id';
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import { attributeMarkdown, wrapTables } from '/src/themes/octopus/utilities/custom-markdown.mjs';
// https://astro.build/config
export default defineConfig({
site: 'https://octopus.com',
integrations: [
mdx()
],
markdown: {
shikiConfig: {
theme: 'light-plus'
},
remarkPlugins: [
remarkDirective,
remarkHeading,
attributeMarkdown,
wrapTables
],
trailingSlash: 'never',
extendDefaultPlugins: true,
},
server: {
port: 3000
},
});