Skip to content

Commit

Permalink
Upgrade to Astro 0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Apr 4, 2022
1 parent 0b197c5 commit e8c766b
Show file tree
Hide file tree
Showing 24 changed files with 609 additions and 173 deletions.
28 changes: 9 additions & 19 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
import type { AstroUserConfig } from "astro"

const config: AstroUserConfig = {
public: "./static",
buildOptions: {
site: "https://princesseuh.netlify.app/",
},
markdownOptions: {
render: [
"@astrojs/markdown-remark",
{
// Pick a syntax highlighter. Can be 'prism' (default), 'shiki' or false to disable any highlighting.
syntaxHighlight: "shiki",
// If you are using shiki, here you can define a global theme and
// add custom languages.
shikiConfig: {
theme: "material-darker",
langs: [],
wrap: false,
},
},
],
publicDir: "./static",
site: "https://princesseuh.netlify.app/",
markdown: {
syntaxHighlight: "shiki",
shikiConfig: {
theme: "material-darker",
langs: [],
wrap: false,
},
},
integrations: [],
vite: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/tailwindcss": "^3.0.10",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"astro": "^0.25.4",
"astro": "^0.26.0",
"astro-eleventy-img": "^0.3.2",
"astro-icon": "0.6.1",
"astro-social-images": "^0.4.1",
Expand All @@ -26,7 +26,7 @@
"eslint-plugin-prettier": "^4.0.0",
"fuzzysort": "^1.2.1",
"netlify-plugin-cache": "^1.0.3",
"prettier": "^2.6.1",
"prettier": "^2.6.2",
"prettier-plugin-astro": "^0.0.12",
"quick-score": "^0.0.14",
"quicklink": "^2.2.0",
Expand Down
Loading

0 comments on commit e8c766b

Please sign in to comment.