الحالة::مؤرشفة
المراجع:: https://github.com/jackyzha0/quartz/issues/947#issuecomment-1973465203
If you want page-specific right-to-left support, you can add a
cssclass
to the frontmatter of specific notes and use custom CSS:In the notes:
--- title: some page with right to left text. cssclass: rtl-class ---
In the
custom.scss
file:.rtl-class, .rtl-class * { direction: rtl; }
To configure a website for RTL as default, edit quartz/styles/custom.scss
and use cssclass: ltr
in notes:
* {
direction: rtl;
}
figure[data-rehype-pretty-code-figure] * {
direction: ltr;
}
.ltr,
.ltr * {
direction: ltr;
}