| 1 | --- |
| 2 | import DefaultMarkdownContent from "starlight-blog/overrides/MarkdownContent.astro"; |
| 3 | |
| 4 | const reference = Astro.url.pathname.startsWith("/providers/"); |
| 5 | --- |
| 6 | |
| 7 | <div class:list={{ "reference-content": reference }}> |
| 8 | <DefaultMarkdownContent><slot /></DefaultMarkdownContent> |
| 9 | </div> |
| 10 | |
| 11 | <style> |
| 12 | /* Starlight sizes the permalink from the wrapper, so scale both together. */ |
| 13 | .reference-content :global(.sl-markdown-content :is(h3, .sl-heading-wrapper.level-h3)) { |
| 14 | --sl-line-height-headings: 1.5; |
| 15 | font-size: 1.125rem; |
| 16 | font-weight: 600; |
| 17 | line-height: 1.5; |
| 18 | } |
| 19 | </style> |