Hello,
I’ve been using DEVONthink for about two months and have been very happy with the experience.
I would like to ask about automatically formatting Markdown text in both the source and preview modes. Specifically, I want the text to be right-to-left (RTL) when writing in Arabic and left-to-right (LTR) when writing in English.
I’ve tried adding CSS code in the settings, but it didn’t work as expected—the text still appears left-to-right, as is showing in the below screenshot. Here’s the code I used:
body {
direction: auto;
unicode-bidi: embed;
text-align: start;
font-family: “Scheherazade New”;
font-size: 16px;
line-height: 1.6;
}
If automatic text direction detection is not supported, how can I ensure that the text always appears right-to-left in the source mode?
I’ve also tested the issue in the DEVONthink 4 beta release, but unfortunately the same problem persists—Markdown text written in Arabic still defaults to left-to-right alignment in source mode , where the direction appears to be forcibly set and cannot be changed, regardless of the CSS settings.
Interestingly, this issue does not occur with RTF documents in DEVONthink.
I’d really appreciate any guidance or workaround for this. Thank you in advance!
Best regards,
Faris
DEVONthink (3.9.9)
MacBook Pro 16″, M1 Pro, 16GB RAM, 1TB SSD, macOS Sequoia 15.4





