- go to Confluence
Administration - go to
User Macrospage underConfigurationpart - click on
Create a User Macroto add a new macro - create
RTL Sectionmacro- use
rtl-sectionasMacro Name - use
RTL SectionasMacro Title - you can use this picture as icon
- reference: https://jira.atlassian.com/browse/CONFSERVER-1373
- use
RenderedMacro Body Processing type - use the following template:
- use
## @noparamsa workaround for writing Right to Left texts
<div style="direction: rtl; unicode-bidi: inherit;">${body}</div>- while editing the text, from
Insert more contentselectOther macros
- search for
RTL Sectionand select it
- click
Insert - Add RTL Persian or Arabic texts
- create
LTR Sectionmacro same asRTL Section- use
ltr-sectionasMacro Name - use
LTR SectionasMacro Title - use
RenderedMacro Body Processing type - you can use this picture as icon
- use the following template:
- use
## @noparamsa workaround for writing Right to Left texts
<div style="direction: ltr; unicode-bidi: inherit;">${body}</div>Now insert a LTR Section macro inside your RTL Section macros whenever needed.
RTL will not work in editing environment. To fix this:
- go to Confluence
Administration - go to
Stylesheetpage underLook and Feelpart - click on
Editto add new CSS rules - Add the following lines and click on
Save
table.wysiwyg-macro[data-macro-name="rtl-section"] {
direction: rtl;
text-align: justify;
}
table.wysiwyg-macro[data-macro-name="ltr-section"] {
direction: ltr;
text-align: initial;
}Default fonts may not looks good in Persian or Arabic. You can use any font you want, e.g. Vazir font.
- go to Confluence
Administration - go to
Stylesheetpage underLook and Feelpart - click on
Editto add new CSS rules - Add the following lines and click on
Save
@font-face {
font-family: Vazir;
src: url('https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/dist/Vazir.ttf') format('truetype');
}
@font-face {
font-family: "Vazir Code";
src: url('https://cdn.rawgit.com/rastikerdar/vazir-code-font/v1.1.2/dist/Vazir-Code.ttf') format('truetype');
}
#title-text, .wiki-content {
font-family: Vazir;
}
.wiki-content {
text-align: justify;
text-indent: 1em;
}
code {
font-family: "Vazir Code";
background: rgba(0,0,0,0.03);
border: 1px solid #dfe1e5;
border-radius: 3px;
padding: 1px 6px;
}





I’ve been reading a lot of threads about self-improvement and personal care lately, and one topic that really stood out to me was hair restoration. For anyone exploring trusted options in the UK, I’d definitely suggest checking out hair transplant London. They provide professional services with advanced techniques and detailed guidance for anyone considering a procedure. It’s a reliable place to start if you’re serious about improving your confidence and appearance