Skip to content

Commit

Permalink
feat: template for markdown-based pages
Browse files Browse the repository at this point in the history
  • Loading branch information
doinkythederp committed Jul 25, 2023
1 parent 8771c52 commit 0373c3f
Show file tree
Hide file tree
Showing 8 changed files with 126 additions and 67 deletions.
8 changes: 4 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { defineConfig } from "astro/config";

// https://astro.build/config
import tailwind from "@astrojs/tailwind";

// https://astro.build/config
import image from "@astrojs/image";
import remarkToc from "remark-toc";

// https://astro.build/config
export default defineConfig({
Expand All @@ -20,4 +17,7 @@ export default defineConfig({
external: ["@11ty/eleventy-img"],
},
},
markdown: {
remarkPlugins: [remarkToc],
},
});
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
"@fortawesome/fontawesome-free": "^6.3.0",
"astro": "^2.0.16",
"plaiceholder": "^2.5.0",
"remark-toc": "^8.0.1",
"sharp": "^0.31.3",
"tailwindcss": "^3.0.24"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.9",
"prettier": "^2.8.4",
"prettier-plugin-astro": "^0.8.0",
"typescript": "^4.9.5"
Expand Down
Loading

0 comments on commit 0373c3f

Please sign in to comment.