יישור בלוק קוד לשמאל
-
אני רוצה לכתוב אתר בעברית עם דוגמאות קוד (תכנות) באנגלית. כאשר השפה מוגדרת אנגלית אז הטקסט (גם בעברית) מיושר לשמאל, אם היא מוגדרת להיות עברית אז גם הקוד בלוק מיושר לימין. זה לא הגיוני, באיזה מקרה נרצה לישר קוד בלוק לימין? אפשר לשנות זאת?
WP.com: Yes
Correct account: YesThe blog I need help with is: (visible only to moderators and staff)
-
Hey there, I used https://translate.google.com to understand:
Align code block to the left
I want to write a website in Hebrew with examples of code (programming) in English. When the language is set to English then the text (also in Hebrew) is aligned to the left, if it is set to be Hebrew then the block code is also aligned to the right. It does not make sense, in which case we would like to align a block code to the right? Can this be changed?
Your question makes sense! I see a recent post with code left-aligned here.
Are you seeing it right-aligned on your side?
-
Thanks for the reply and sorry for posting in Hebrew.
You linked to my post, when editing I see the code-blocks left-to-right but in preview or when posted I see them right-to-left.
I worked around the problem by replacing the code-blocks by highlighted-code-block (which not exactly the style I want but fine), now I see them properly in view, but in edit mode I see them flipped. I can leave which that, but this is certainly not the best behavior. -
Hi there,
Can you please share a screenshot of what you’re seeing in the Editor so I can better understand the issue?
You can upload the screenshot in your site’s Media Library and I’ll be able to view it.
- The topic ‘יישור בלוק קוד לשמאל’ is closed to new replies.