Skip to content

Commit 4d41d8e

Browse files
committed
update prettier config
1 parent a7dc091 commit 4d41d8e

File tree

6 files changed

+93
-8
lines changed

6 files changed

+93
-8
lines changed

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@
66
"activityBar.background": "#3B2739",
77
"titleBar.activeBackground": "#53364F",
88
"titleBar.activeForeground": "#FBFAFB"
9+
},
10+
"prettier.documentSelectors": ["**/*.astro"],
11+
"[astro]": {
12+
"editor.defaultFormatter": "esbenp.prettier-vscode"
913
}
1014
}

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emeraldjava.github.io",
3-
"version": "2024.02.10",
3+
"version": "2024.02.14",
44
"scripts": {
55
"dev": "astro dev",
66
"start": "astro dev",
@@ -42,7 +42,7 @@
4242
"eslint": "^9.19.0",
4343
"eslint-plugin-astro": "^1.2.4",
4444
"globals": "^15.9.0",
45-
"prettier": "^3.3.3",
45+
"prettier": "^3.5.1",
4646
"prettier-plugin-astro": "^0.14.1",
4747
"prettier-plugin-tailwindcss": "^0.6.6",
4848
"react": "^18.3.1",
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: Nuc Setup
3+
author: emeraldjava
4+
pubDatetime: 2024-12-08T07:44:00Z
5+
slug: "2024-12-08"
6+
featured: false
7+
draft: false
8+
tags:
9+
- nuc
10+
description: Details on the env setup for the NUC.
11+
---
12+
13+
## My Oh Posh
14+
15+
- https://www.hanselman.com/blog/my-ultimate-powershell-prompt-with-oh-my-posh-and-the-windows-terminal
16+
- https://www.hanselman.com/blog/how-to-make-a-pretty-prompt-in-windows-terminal-with-powerline-nerd-fonts-cascadia-code-wsl-and-ohmyposh
17+
- https://www.hanselman.com/blog/now-is-the-time-to-make-a-fresh-new-windows-terminal-profilesjson
18+
19+
- https://whoisryosuke.com/blog/2022/leveling-up-windows-powershell-with-oh-my-posh
20+
21+
PS C:\Users\pault\github\emeraldjava.github.io> echo $PROFILE
22+
C:\Users\pault\Documents\WindowsPowerShell\Microsoft.VSCode_profile.ps1
23+
24+
   ~\github\emeraldjava.github.io    astro ≡  ?1 ~1   23.3.0   ERROR  09:23:34  ─╮
25+
╰─ New-Item -Path $PROFILE -Type File -Force ─╯
26+
27+
Directory: C:\Users\pault\Documents\WindowsPowerShell
28+
29+
Mode LastWriteTime Length Name
30+
31+
***
32+
33+
-a---- 08/12/2024 09:23 0 Microsoft.PowerShell_profile.ps1
34+
35+
╭─    ~\github\emeraldjava.github.io    astro ≡  ?1 ~1   23.3.0     09:25:57  ─╮
36+
╰─ oh-my-posh font install ─╯
37+
38+
Successfully installed CascadiaCode-2407.24 🚀
39+
40+
The following font families are now available for configuration:
41+
• Cascadia Mono NF
42+
• Cascadia Mono
43+
• Cascadia Mono PL
44+
• Cascadia Code
45+
• Cascadia Code PL
46+
• Cascadia Code NF
47+
48+
49+
50+
CascadiaMonoNF
51+
52+
## settings.json file location
53+
54+
https://superuser.com/questions/1817570/where-is-windows-terminal-setting-location-json-file-in-windows-10
55+
56+
%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
57+
58+
![alt text](./2024-12-08-windows-settings-json.png)
59+
60+
## Docker
13.1 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Open Graph Images for Astro Posts
3+
author: emeraldjava
4+
pubDatetime: 2024-12-21T07:44:00Z
5+
slug: "2024-12-21"
6+
featured: false
7+
draft: false
8+
tags:
9+
- astro
10+
description: Use vercel to generate open graph images for posts.
11+
---
12+
13+
## References
14+
15+
- https://www.kozhuhds.com/blog/generating-static-open-graph-og-images-in-astro-using-vercel-og
16+
17+
- https://dev.to/jxd-dev/open-graph-image-generation-with-astro-gnp
18+
19+
- https://www.npmjs.com/package/@vercel/og
20+
21+
- https://blog.otterlord.dev/posts/dynamic-opengraph/

0 commit comments

Comments
 (0)