Skip to content

Commit

Permalink
Add Markdown Article
Browse files Browse the repository at this point in the history
  • Loading branch information
WebDevSimplified committed Jun 15, 2023
1 parent 298ce5d commit 43242e3
Show file tree
Hide file tree
Showing 21 changed files with 838 additions and 730 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/pages/2023-06/markdown-crash-course/index.mdx
5 changes: 2 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@
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 preact from "@astrojs/preact" // @ts-check
import react from "@astrojs/react" // @ts-check

// https://astro.build/config
export default defineConfig(
/** @type {import('astro').AstroUserConfig} */
{
integrations: [preact(), sitemap(), mdx()],
integrations: [react(), sitemap(), mdx()],
site: "https://blog.webdevsimplified.com",
markdown: {
syntaxHighlight: false,
Expand Down
14 changes: 10 additions & 4 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@layouts/*": ["src/layouts/*"],
"@blogComponents/*": ["src/blogComponents/*"]
}
"@layouts/*": [
"src/layouts/*"
],
"@blogComponents/*": [
"src/blogComponents/*"
]
},
"jsx": "react-jsx",
"jsxImportSource": "react"
}
}
}
Loading

0 comments on commit 43242e3

Please sign in to comment.