Best practice with RTL paragraphs for Marked 3 ?

Viewed 12

Context

Opening an MD file in WriteRoom 4 (Preview) Build (407+), for example, we see the same RTL behaviour as in TextEdit:

  1. RTL paras align right, while LTR paras align left
  2. When we start a new line by typing RTL chars, the cursor jumps to the right.

And in the menu systems we can override this automatic detection, and specify a particular direction, via

TextEdit: Format > Text > Writing Direction

WriteRoom 4.0 Preview (407): Format > Text Direction

(Both apps preserve right-alignment of RTL paras in print output)

Problem

When we open an MD file in Marked 3.2.17, any RTL paras jump to the left, aligning line endings rather than line starts.

Question

What is best practice for helping Marked to preserve right-alignment of RTL paras ?

2 Answers

Do you have Settings → Style → Detect and style RTL text enabled? If so, and you're still not getting RTL text as expected, please provide a sample document.

Thanks,
Brett

Settings > Style > Detect and style RTL text

works perfectly.

Many thanks !


( FWIW I hadn't managed to track it down via searches for RTL or direction in Marked 3 > Help > Search )