obsidian-rtl icon indicating copy to clipboard operation
obsidian-rtl copied to clipboard

I would like to set a folder as rtl in rtl.json

Open Limezy opened this issue 3 years ago • 6 comments

Hi, thanks for this very nice plugin. I would like to set a full folder as being rtl notes, instead of changing manually for each note !

Limezy avatar Oct 21 '21 19:10 Limezy

You have the plugin's 'Default text direction' setting as a global setting, but what you are suggesting -- of applying the default based on a folder -- is more powerful. Thanks! Will possibly add that at some point :sunglasses:

esm7 avatar Oct 22 '21 03:10 esm7

Yes, it's exactly that and I believe it would match with a lot of people's usage of rtl. In my case, a set of Hebrew or aramean bibles 😀

Limezy avatar Oct 22 '21 03:10 Limezy

Another possibility would be to parse the yaml frontmatter for something like :

---
direction : ltr
---

Would that be possible ?

Limezy avatar Oct 28 '21 08:10 Limezy

Yes, that's straight-forward. Will do.

esm7 avatar Oct 28 '21 09:10 esm7

Yes, that's straight-forward. Will do.

That would be really great, many thanks in advance !

Limezy avatar Nov 01 '21 06:11 Limezy

Just released 0.1.0 which adds support to set the direction via the front matter.

esm7 avatar Nov 14 '21 17:11 esm7