Persian, Arabic, Hebrew and English in one note
Mixed-direction text is the normal case for many writers, not an edge case. Noteonpad treats the interface language, the language of your text and the direction of each paragraph as three independent things, and decides direction from the text itself.
A live example
مثال زنده: «میشود» با نیمفاصله، عدد ۱۲٬۵۰۰، لینک example.com/notes?id=42 و کد dir="auto" کنار هم.
The paragraph above is Persian, so it flows right-to-left. The number keeps its digit order, the link and the code fragment stay left-to-right inside it, and the half-space (ZWNJ) in «میشود» is a real character, not a space.
Three independent things
Interface language is the language of menus and messages (English, Persian or Arabic); you pick it in the header. Content language is the language you write in, which the app detects per paragraph to choose a font and spell-check dictionary. Text direction is right-to-left or left-to-right and follows the text unless you force it.
Changing one never changes the others. You can run the interface in Persian and write English notes, or keep the English interface and write Persian notes with a right-to-left layout — the editor does not care.
Auto direction
By default each line (in plain text) or paragraph (in rich text and Markdown) follows its first strong letter: if the first letter is Persian, Arabic or Hebrew, the line is right-to-left; if it is Latin, Cyrillic or Greek, left-to-right. Digits, punctuation, spaces and symbols are not “strong”, so a line that starts with a number or a bullet takes the direction of the first real letter after it.
Numbers, links and code keep their own direction inside a line, so a URL in a Persian sentence stays readable and a Persian phrase inside an English sentence does not flip the surrounding punctuation.
When auto detection is not what you want, force the direction for the whole note from the toolbar (Direction: Auto · RTL · LTR) or from the keyboard: Ctrl + Right Shift for right-to-left, Ctrl + Left Shift for left-to-right (⌘ instead of Ctrl on a Mac), as in Word and Google Docs. In rich text you can also set the direction of a single paragraph. The label always shows the result, for example “Auto · RTL”, so you know what is applied.
Fonts
The font is chosen by script: Vazirmatn for Persian, Noto Sans Arabic for Arabic, Noto Sans Hebrew for Hebrew and Noto Naskh Arabic for Urdu (a Nastaliq option can be enabled). Latin text uses Inter and code uses JetBrains Mono. The decision is made per paragraph from its dominant script and re-evaluated on paste or when you leave the paragraph — never on every keystroke, so typing stays smooth.
You can pin a specific font for a note from the ⋯ menu; the pin survives edits. Letter-spacing is never applied to Persian, Arabic or Urdu text, because it breaks the joined letterforms.
Keyboard tips
- ZWNJ (نیمفاصله): on Persian keyboard layouts press Shift+Space. In the standard Windows Persian layout it is Ctrl+Shift+2; on macOS Persian layouts Shift+Space or Option+Space. The ZWNJ fixer tool normalises pasted text that used plain spaces instead.
- Ctrl + Right Shift / Ctrl + Left Shift (⌘ on a Mac) set the whole note to RTL / LTR: press both keys and release them. Choosing Auto from the toolbar returns to detection; a single paragraph in rich text is set from the ¶ menu.
- Persian digits: by default digits are stored as you type them. A setting converts the display to Persian digits for Persian paragraphs without changing the stored text.
- Mixed punctuation: type the punctuation of the language you are writing in (، ؛ ؟ for Persian and Arabic). The direction logic treats them as neutral, so they attach to the surrounding words correctly.