Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into fix-cpp-references
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Nov 26, 2024
2 parents 5255534 + 079342d commit c1c43a7
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 39 deletions.
7 changes: 7 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";
import expressiveCode from "astro-expressive-code";
import icon from "astro-icon";
import { defineConfig } from "astro/config";
import rehypeExternalLinks from "rehype-external-links";
import remarkEmoji from "remark-emoji";
import remarkHeadingId from "remark-heading-id";

Expand All @@ -31,6 +32,12 @@ export default defineConfig({
icon(),
mdx({
//gfm: true,
rehypePlugins: [
[
rehypeExternalLinks,
{ rel: ["nofollow noopener noreferrer"], target: "_blank" },
],
],
remarkPlugins: [remarkEmoji, remarkHeadingId],
}),
sitemap(),
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"posthog-js": "=1.95.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rehype-external-links": "^3.0.0",
"remark-emoji": "^5.0.1",
"remark-heading-id": "^1.0.1",
"typescript": "^5.6.3"
Expand Down
112 changes: 73 additions & 39 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c1c43a7

Please sign in to comment.