What feature would you like to see?
I would like MarkView to support right-to-left (RTL) text direction for Markdown documents.
The text direction should preferably be detected automatically based on the document or paragraph content, for example by using dir="auto" where appropriate.
It would also be useful to allow users to explicitly select the document direction:
- Automatic
- Left-to-right (LTR)
- Right-to-left (RTL)
RTL support should apply to headings, paragraphs, lists, blockquotes, tables, and other Markdown elements.
Why is this needed?
Without RTL support, documents written in right-to-left languages are displayed with incorrect alignment, punctuation placement, list indentation, and mixed-direction text rendering.
This makes Markdown documents difficult to read and limits the usability of MarkView for many languages.
The feature should not be specific to Hebrew; it should support RTL languages in general, including Arabic, Persian, Urdu, and others.
Additional context
Possible implementation options:
- Add
dir="auto" to text containers.
- Use CSS logical properties such as
margin-inline-start, padding-inline-start, and text-align: start.
- Allow a global document direction setting.
- Optionally support direction through Markdown front matter, for example:
dir: rtl
Mixed RTL and LTR content, such as technical terms, code, URLs, and numbers, should remain readable.
Code blocks should normally remain LTR even inside an RTL document.
Before submitting
What feature would you like to see?
I would like MarkView to support right-to-left (RTL) text direction for Markdown documents.
The text direction should preferably be detected automatically based on the document or paragraph content, for example by using
dir="auto"where appropriate.It would also be useful to allow users to explicitly select the document direction:
RTL support should apply to headings, paragraphs, lists, blockquotes, tables, and other Markdown elements.
Why is this needed?
Without RTL support, documents written in right-to-left languages are displayed with incorrect alignment, punctuation placement, list indentation, and mixed-direction text rendering.
This makes Markdown documents difficult to read and limits the usability of MarkView for many languages.
The feature should not be specific to Hebrew; it should support RTL languages in general, including Arabic, Persian, Urdu, and others.
Additional context
Possible implementation options:
dir="auto"to text containers.margin-inline-start,padding-inline-start, andtext-align: start.dir: rtl
Mixed RTL and LTR content, such as technical terms, code, URLs, and numbers, should remain readable.
Code blocks should normally remain LTR even inside an RTL document.
Before submitting