Repository navigation
dsh-rtl: right-to-left chat text for Persian/Arabic #11672
hami-ashraafi
started this conversation in
Show Your Plugins!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi - I built a small community bundle for RTL reading in Chat, since the transcript renders Persian and Arabic left-to-right today.
Repo: https://github.com/hami-ashraafi/dsh-rtl
What it does
direction: rtland are right-aligned.unicode-bidi: isolate, so their punctuation cannot reorder the surrounding sentence.How it is built
dsh.bundle.patch+dsh.client) with one Client module that registers a single stylesheet and removes it on dispose.data-slot="conversation.chat.flow",data-chat-turn, class names containingmarkdown/bubble, and[data-composer-seat]- no harness patch needed.Install: Plugins ? Add plugin ?
https://github.com/hami-ashraafi/dsh-rtlWritten against 0.2.1-rc.3. Feedback welcome, especially from other RTL locales (Arabic, Hebrew).
?????: ????? ???? ????? (???? ???? ???????? ????????) ?? README.fa.md ???. ??? ?????? ???? ????????????? ????? ??? ? ???????? ?? ????? ???.
All reactions