orelby259 downloadsMix right-to-left and left-to-right text in math expressions using configurable commands.
RTL Math Text is a plugin for Obsidian that adds basic support for mixing right-to-left (RTL) and left-to-right (LTR) text in MathJax expressions through the use of custom LaTeX commands.
\R{\text{...}}\L{...}$...$ in display mode or using \(...\)\R{...} and \L{...} commands in the settings⚠ Note: The plugin does not add support for languages with combining letters (e.g. Arabic). This is expected to be resolved with the upcoming release of MathJax 4.0 (see mathjax/MathJax#3041).

$\R{\text{שלום, עולם!}}$

$$
\underbrace{a_1 \| a_2 \| \cdots \| a_n}_{
\R{\text{
שרשור
(\L{concatenation})
האותיות ב-$
a$}}}
$$
(line breaks for readability)
.obsidian/plugins/rtl-math-text foldernode --version)npm i or yarn to install dependenciesnpm run build for production build (or npm run dev for dev build in watch mode)main.js, styles.css, and manifest.json into your .obsidian/plugins/rtl-math-text folderMIT