Skip to content

Commit 8e54154

Browse files
committed
fix newsletter mdx list spacing
1 parent 25a4a65 commit 8e54154

2 files changed

Lines changed: 5 additions & 30 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ These instructions apply to the whole repository.
1111
- Prefer Server Components by default. Only add `"use client"` when the component needs browser-only APIs, state/effects, event handlers, or client-only libraries.
1212
- When touching JS/JSX components, convert them to TS/TSX when it is reasonable and scoped to the change.
1313
- Keep shared presentational components server-safe where possible. For translated labels or suffixes, prefer passing translated text from the caller instead of adding `useTranslations` to a shared component.
14-
- In MDX prose, if an inline component inside a Markdown list item is formatted onto multiple lines and changes rendered spacing, prefer a JSX `<ul>`/`<li>` block with explicit `{" "}` spacing over disabling formatting for the whole file.
14+
- In MDX prose, if an inline component inside a Markdown list item is formatted onto multiple lines and changes rendered spacing, use a targeted `{/* prettier-ignore */}` before that list rather than disabling formatting for the whole file.
1515

1616
## Internationalisation
1717

src/content/newsletter/beginning-to-look-like-compost.mdx

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,10 @@ It’s the end of the year, and <StrongLink href={siteConfig.url}>Peels</StrongL
3232

3333
Since the start of the year, 25+ local and state governments, industry bodies, and non-profits have pointed people to Peels, with plenty more mentions elsewhere. Here are some recents:
3434

35-
<ul>
36-
<li>
37-
<StrongLink
38-
href="https://podcasts.apple.com/au/podcast/how-to-save-our-planet/id1648409844?i=1000732698117"
39-
target="_blank"
40-
>
41-
How to Save Our Planet
42-
</StrongLink>{" "}
43-
included Peels in its composting episode.
44-
</li>
45-
<li>
46-
<StrongLink
47-
href="https://responsiblecafes.org/peels-replaces-sharewaste/"
48-
target="_blank"
49-
>
50-
Responsible Cafes
51-
</StrongLink>{" "}
52-
featured Peels in a community composting guide.
53-
</li>
54-
<li>
55-
<StrongLink
56-
href="https://therot.substack.com/p/meet-danny-and-his-compost-app-peels"
57-
target="_blank"
58-
>
59-
The Rot
60-
</StrongLink>{" "}
61-
interviewed me about how Peels started.
62-
</li>
63-
</ul>
35+
{/* prettier-ignore */}
36+
- <StrongLink href="https://podcasts.apple.com/au/podcast/how-to-save-our-planet/id1648409844?i=1000732698117" target="_blank">How to Save Our Planet</StrongLink> included Peels in its composting episode.
37+
- <StrongLink href="https://responsiblecafes.org/peels-replaces-sharewaste/" target="_blank">Responsible Cafes</StrongLink> featured Peels in a community composting guide.
38+
- <StrongLink href="https://therot.substack.com/p/meet-danny-and-his-compost-app-peels" target="_blank">The Rot</StrongLink> interviewed me about how Peels started.
6439

6540
You can see the full list in our <StrongLink href={getPromoKitUrl()}>promo kit</StrongLink>.
6641

0 commit comments

Comments
 (0)