Markdown css styles not shown when RTL is enable

I know there are html fixes for this issue, I once saw someone who uses a <div> with rtl, but it’s just an ugly solution… why markdown then ? I would simply use html instead :sweat_smile:

Sample here (have a look at the raw file): django-Workshops-Arabic/Workshop(05)-Working with Visual Studio Code.md at master · skahwaji/django-Workshops-Arabic · GitHub

I don’t think there is a standard for that, but I think it’s very convenient if the check of the RTL or LTR is based on the first character in each line (same implementation in whatsapp too).

Let’s say I wanna write a new line like this:

أهلا جميعاً !

Isn’t it much better to show it rtl based on the first char instead of showing the whole block in one direction ? I know this might cause some performance hit for the markdown parser, but there must be an elegant solution out there.

Thanks for your fast response !