We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Not sure if this is intended or not, but when using RTL and MDX code blocks—the formatting within the <pre /> tag becomes jumbled.
<pre />
Reproduction
I reproduced this with a very minimal install of Ladle and React, see the below StackBlitz environment:
Docs
Readme
Right to left
const greeting = 'Hello, ladle!';
becomes
;'!const greeting = 'Hello, ladle
Note: When I copy and paste with my clipboard, the code comes out proper even though it displays incorrectly.
Thank you for the awesome work!
Environment
Firefox
Edge
Brave
@ladle/react: 4.0.2
The text was updated successfully, but these errors were encountered:
What is the correct behavior? Should rtl not change formatting/directon of code blocks?
rtl
It seems we could just achieve that by adding
<pre dir="ltr">
to fix this.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Not sure if this is intended or not, but when using RTL and MDX code blocks—the formatting within the
<pre />
tag becomes jumbled.Reproduction
I reproduced this with a very minimal install of Ladle and React, see the below StackBlitz environment:
Docs
->Readme
story.Right to left
on.becomes
Thank you for the awesome work!
Environment
Firefox
,Edge
,Brave
]@ladle/react: 4.0.2
The text was updated successfully, but these errors were encountered: