Skip to content

Commit 96fbeee

Browse files
committed
Fix ~~ strikethrough by adding remark-gfm to markdown config
The ~~[Sold Out]~~ text showed as raw syntax because Astro's markdown processor doesn't include GFM by default. Added remark-gfm to remarkPlugins in astro.config.mjs, which enables strikethrough (plus tables, task lists, etc.). Reverted the sponsorship.mdx back to markdown ~~ syntax.
1 parent 18bf0a6 commit 96fbeee

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { defineConfig } from "astro/config";
44
import mdx from "@astrojs/mdx";
55
import sitemap from "@astrojs/sitemap";
66
import remarkToc from "remark-toc";
7+
import remarkGfm from "remark-gfm";
78
import rehypeSlug from "rehype-slug";
89
import rehypeAutolinkHeadings from "rehype-autolink-headings";
910
import metaTags from "astro-meta-tags";
@@ -132,6 +133,7 @@ export default defineConfig({
132133
},
133134
markdown: {
134135
remarkPlugins: [
136+
remarkGfm,
135137
[
136138
remarkToc,
137139
{

src/content/pages/sponsorship/sponsor.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Alongside our main sponsorship packages, we offer **premium optional add-ons**
8686
designed to amplify your sponsorship impact and visibility.
8787
Available for **Silver Package level and above**, some popular examples include:
8888

89-
- <del>**[Sold Out] Technical Talk Slot (30 min)**: €5000</del>
89+
- ~~**[Sold Out] Technical Talk Slot (30 min)**: €5000~~
9090
- **Tutorial/Workshop Slot (3h)**: €5000
9191
- **Poster slot**: €3000
9292
- **Open Space Sponsor**: €2000
@@ -100,7 +100,7 @@ Available for **Silver Package level and above**, some popular examples include:
100100
We also offer opportunities for
101101
<span class="font-semibold">Financial Aid Sponsor</span> –
102102
<span class="font-semibold">Social Event Sponsor</span> –
103-
<del><span class="font-semibold">[Sold Out] PyLadies Lunch Sponsor</span></del>
103+
~~<span class="font-semibold">[Sold Out] PyLadies Lunch Sponsor</span>~~
104104
<span class="font-semibold">Speaker Dinner Sponsor</span> –
105105
<span class="font-semibold">Plenary Room Sponsor</span> –
106106
<span class="font-semibold">Quiet Room Sponsor</span> –

0 commit comments

Comments
 (0)