Skip to content

Commit 540b6a7

Browse files
author
Patrick M
committed
2 parents e50af2b + 30648e8 commit 540b6a7

18 files changed

+90
-25
lines changed

astro.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defineConfig, envField, fontProviders } from "astro/config";
2+
import { remarkAlert } from "remark-github-blockquote-alert";
23
import tailwindcss from "@tailwindcss/vite";
34
import sitemap from "@astrojs/sitemap";
45
import remarkToc from "remark-toc";
@@ -20,7 +21,11 @@ export default defineConfig({
2021
}),
2122
],
2223
markdown: {
23-
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }]],
24+
remarkPlugins: [
25+
remarkAlert,
26+
remarkToc,
27+
[remarkCollapse, { test: "Table of contents" }],
28+
],
2429
shikiConfig: {
2530
// For more themes, visit https://shiki.style/themes
2631
themes: { light: "one-light", dark: "dark-plus" },

package-lock.json

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"dayjs": "^1.11.19",
2222
"lodash.kebabcase": "^4.1.1",
2323
"remark-collapse": "^0.1.2",
24+
"remark-github-blockquote-alert": "^2.0.1",
2425
"remark-toc": "^9.0.0",
2526
"satori": "^0.18.3",
2627
"sharp": "^0.34.5",

pnpm-lock.yaml

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

src/data/blog/2022/install-pihole-ha.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ vrrp_instance pihole {
139139
| 23 | Node authentication. Keep in mind this is unencrypted, which is why we specify the other nodes by IP |
140140
| 32 | The script to run to verify DNS is live |
141141

142+
> [!WARNING]
142143
> Never set an IP reservation for the virtual IP, or set it as a static address for another device
143-
> {: .prompt-warning }
144144
145145
Also keep in mind, this is set up for unicast, but can be configured for multicast. I just like to be explicit. You can find more details about [keepalived configuration here](https://keepalived.readthedocs.io/en/latest/configuration_synopsis.html).
146146

0 commit comments

Comments
 (0)