Skip to content

Commit a17830f

Browse files
Finish 1.0.0
1 parent ad4aeb0 commit a17830f

File tree

130 files changed

+936
-2805
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+936
-2805
lines changed

astro.config.mjs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ import preact from "@astrojs/preact" // @ts-check
1212
import { defineConfig } from "astro/config"
1313
import sitemap from "@astrojs/sitemap"
1414

15+
// https://astro.build/config
16+
import mdx from "@astrojs/mdx"
17+
1518
// https://astro.build/config
1619
export default defineConfig(
1720
/** @type {import('astro').AstroUserConfig} */
1821
{
19-
integrations: [preact(), sitemap()],
22+
integrations: [preact(), sitemap(), mdx()],
2023
site: "https://blog.webdevsimplified.com",
2124
markdown: {
2225
// TODO: Maybe use shiki and see if it is better and has line highlighting.
23-
syntaxHighlight: false,
24-
remarkPlugins: [
25-
"remark-gfm",
26-
codeHighlightPre,
27-
"remark-prism",
28-
youtubeEmbed,
29-
responsiveImages,
30-
],
26+
syntaxHighlight: "prism",
27+
remarkPlugins: ["remark-gfm", youtubeEmbed, responsiveImages],
3128
},
3229
}
3330
)
31+
32+
// TODO: Add line highlighting to code blocks.
33+
// TODO: Check to see if my plugins can be replaced with official integrations.

0 commit comments

Comments
 (0)