FWIW, seems like perLineTextDirection is turned on. But, that seems to be just a marker. Good support, like Obsidian has, requires being able to set the direction, automatically, per line. Here is the relevant PR from Obsidian: Feature auto direction mixed RTL and LTR by zoli · Pull Request #48 · esm7/obsidian-rtl · GitHub which seem to rely on this commit: Introduce perLineTextDirection and textDirectionAt · codemirror/view@a77589f · GitHub