I wish, but CodeMirror (the component behind Obsidian’s editor) can only set the direction for the whole document.

2 Likes

+1 for RTL support (mixed English/Other languages)
Really needed

2 Likes

Thanks for the plugin.
please make RTL for Preview mode as well.

1 Like

Will do, as it’s a very requested feature.

2 Likes

You are a true gold!

1 Like

I published a new version 0.0.3 with preview mode RTL support, please upgrade and let me know how it works for you.

1 Like

This is just great! THANK YOU!

One question: When exporting to pdf the text is still LTR, is there something I need to do in order to fix it or is it a known issue?

Thanks again!

1 Like

It should be pretty easy for the author to target print, which has class .print.

@esm90: great work you’re doing here! Have you considered opening a share & showcase thread if you haven’t? You can gather feedback and post updates there.

Otherwise, I think people are also discovering it by searching for “RTL” in third-party plugins.

1 Like

@dorongol seems like it’s an area I didn’t cover yet. It should be easy enough, I’ll address that next time I have a few minutes to work on the plugin. You’re also very welcome to open a PR in the plugin Github repo if you’re up to it :slight_smile:
@Silver thanks for the tip, I didn’t think about it. If it’s gonna help users to discover the RTL support I’ll surely open a share & showcase thread.

3 Likes

I added Export support in the latest version, please give it a go and let me know if it works as expected.

5 Likes

Thanks.
It works like a charm.
Looking forward for Apply RTL Support in link popup window.

Thank you very much for the plugin. :heart:

3 Likes

That RTL export is awesome. I tried multiple apps, couldn’t figure a easy way for doing it to Markdown.

2 Likes

Since Markdown (and so Obsidian) support HTML tags, a temporary solution to have bi-directional notes is to simply put rtl and ltr blocks between <div dir="rtl"></div> and <div dir="ltr"></div> tags.

<div dir="rtl">
این یک متن نمونه راست به چپ است
</div>
<div dir="ltr">
This is a sample left-to-right text
</div>

Then you can use the RTL support plugin shortcuts to change the direction in each block to write more conveniently. You can also use the Text Expander plugin to automate pasting div HTML tags

6 Likes

Thanks for the solution. Do you know a workaround for eliminate red dot (character \u200c)، semispace in Persian Language?

2 Likes

I couldn’t find any workarounds. But fixing the problem seems to be a more logical and easier step at this point.

1 Like

The problem still exist in Obsidian version 0.11.5.
I’m not a tech savvy.
should I implement some codes?

1 Like

Nothing you can do by yourself. Just like the topic I mentioned if you can. Obsidian developers will probably fix it, when they get the change.

1 Like

I think matching “TITLE” in RTL/LTR position with body-text would be very nice aesthetically.

2 Likes

I tired to use this plugin ininstall
But not work in ios and ipad os ?
Please guys how can I install this plugin I am Expert Help me please