diff --git a/docs/src/content/docs/getting-started.mdx b/docs/src/content/docs/getting-started.mdx index 810b17f849e..f8f6a955f13 100644 --- a/docs/src/content/docs/getting-started.mdx +++ b/docs/src/content/docs/getting-started.mdx @@ -1,5 +1,5 @@ --- -title: Getting Started +title: Getting Started xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxx description: Learn how to start building your next documentation site with Starlight by Astro. --- diff --git a/packages/starlight/style/markdown.css b/packages/starlight/style/markdown.css index 1f065ff9eb6..e1fa686fcab 100644 --- a/packages/starlight/style/markdown.css +++ b/packages/starlight/style/markdown.css @@ -1,3 +1,15 @@ +.sl-markdown-content p, +.sl-markdown-content h1, +.sl-markdown-content h2, +.sl-markdown-content h3, +.sl-markdown-content h4, +.sl-markdown-content h5, +.sl-markdown-content h6, +.sl-markdown-content code { + background-color: rgba(0, 255, 0, 0.2); + overflow-wrap: anywhere; +} + .sl-markdown-content :not(a, strong, em, del, span, input, code) + :not(a, strong, em, del, span, input, code, :where(.not-content *)) { diff --git a/packages/starlight/style/reset.css b/packages/starlight/style/reset.css index 0867542a8c4..f2b6873a161 100644 --- a/packages/starlight/style/reset.css +++ b/packages/starlight/style/reset.css @@ -40,7 +40,7 @@ h4, h5, h6, code { - overflow-wrap: anywhere; + background-color: rgba(255, 0, 0, 0.2); } code { diff --git a/packages/starlight/translations/en.json b/packages/starlight/translations/en.json index a7228c91778..3b14f5659f9 100644 --- a/packages/starlight/translations/en.json +++ b/packages/starlight/translations/en.json @@ -11,7 +11,7 @@ "languageSelect.accessibleLabel": "Select language", "menuButton.accessibleLabel": "Menu", "sidebarNav.accessibleLabel": "Main", - "tableOfContents.onThisPage": "On this page", + "tableOfContents.onThisPage": "On this page xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxx", "tableOfContents.overview": "Overview", "i18n.untranslatedContent": "This content is not available in your language yet.", "page.editLink": "Edit page",