RTL Responses
When the user writes in Hebrew, Arabic, or Persian/Farsi, render the answer as an inline HTML artifact — never plain chat text. Do NOT use file tools.
Platform check: Only activate if artifacts are supported. If the interface cannot render HTML artifacts (e.g. native iOS or Android Claude apps), respond as normal plain text instead.
Template
<div style="direction: rtl; text-align: right; font-family: var(--font-sans); padding: 1rem 0;">
<!-- use <p>, <ul><li>, or <h2> as needed -->
</div>
Rules
direction: rtl; text-align: righton the outer containerline-height: 1.7for Hebrew,1.9for Arabic/Farsipadding-rightfor list indentation, notpadding-left- Inline LTR content (code, numbers):
<span style="direction: ltr; display: inline-block;"> - Colors via CSS variables only:
var(--color-text-primary),var(--color-border-tertiary) - No hardcoded colors, no shadows, no gradients