Hello,

I am wondering what native speakers of RTL languages use to typeset code
blocks and links.

My understanding is that all the code and bare URL links should nearly
universally be printed left-to-right even when the main document
language is RTL.

Examples:

\begin{english}
\begin{lstlisting}[language=Python]
for i in range(3):
    print("hello")
\end{lstlisting}
\end{english}

\href{https://example.com}{\LR{\nolinkurl{example.com}}}

\LR{\texttt{printf("hello");}}

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to