withastro / docs

Astro documentation
https://docs.astro.build/
MIT License
1.23k stars 1.32k forks source link

RTL Docs `Inline Code Snippet` need to be always LTR. #8209

Open X7md opened 1 week ago

X7md commented 1 week ago

📝 Issue Description

This </ slot>:

image

Should looks like this <slot />:

image

📋 On which page(s) it occurs

https://docs.astro.build/ar/basics/astro-components/

and others...

🤔 Expected Behavior

force inline code to be LTR.

👀 Current Behavior

In Arabic Docs Inline Code Snippet shows as RTL and that break the original code, symbols usually looks reverses which is wrong.

🖥️ Browser

Chrome 124.0.6367.119 (Official Build) (64-bit) (cohort: Stable)

📄 Additional Information

No response