پرش به محتویات

English and mixed-direction layout

This page verifies the automatic LTR layout, English typography, tables, inline code, and embedded Persian content.

Expected behavior

Navigation remains consistent with the main site, while this article and its table are rendered left-to-right.

API example

Field Type Description
accountId string Unique business account identifier
status enum Current lifecycle state
balance integer Available balance in rials
account:
  id: ACC-1001
  status: active
  display_name: حساب عملیاتی شرکت

Embedded Persian

این قطعه باید راست‌به‌چپ باقی بماند، حتی وقتی جهت کلی صفحه انگلیسی و چپ‌به‌راست است. عبارت `موجودی قابل برداشت` نیز باید با فونت مناسب فارسی نمایش داده شود.
def available_balance(account):
    """محاسبه موجودی قابل برداشت حساب آزمایشی."""
    return account.ledger_balance - account.blocked_amount