Repository navigation
Expand file tree
/
Copy pathastro.config.mjs
More file actions
40 lines (38 loc) · 1.52 KB
/
Copy pathastro.config.mjs
File metadata and controls
40 lines (38 loc) · 1.52 KB
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
30
31
32
33
34
35
36
37
38
39
40
// Full Astro Configuration API Documentation:
// https://docs.astro.build/reference/configuration-reference
// @type-check enabled!
// VSCode and other TypeScript-enabled text editors will provide auto-completion,
// helpful tooltips, and warnings if your exported object is invalid.
// You can disable this by removing "@ts-check" and `@type` comments below.
import youtubeEmbed from "./src/plugins/youtubeEmbed.mjs"
import responsiveImages from "./src/plugins/responsiveImages.mjs"
import myRemarkShiki from "./src/plugins/myRemarkShiki.mjs"
import { defineConfig } from "astro/config"
import sitemap from "@astrojs/sitemap"
import mdx from "@astrojs/mdx"
import react from "@astrojs/react" // @ts-check
import responsiveTables from "./src/plugins/responsiveTables.mjs"
// https://astro.build/config
export default defineConfig(
/** @type {import('astro').AstroUserConfig} */
{
integrations: [react(), sitemap(), mdx()],
site: "https://blog.webdevsimplified.com",
markdown: {
syntaxHighlight: false,
// TODO: Add official Shiki integration when line highlighting is supported
remarkPlugins: [
myRemarkShiki,
youtubeEmbed,
responsiveImages,
responsiveTables,
],
},
},
)
// TODO: Check to see if my plugins can be replaced with official integrations.
// TODO: Implement experimental assets integration
// TODO: Move over to the content folder
// TODO: Add TS Support
// TODO: Add analytic conversion tracking (for things like newsletter signups)
// TODO: Optimize/Shrink Images