Diego Ruiz
Diego Ruiz

Reputation: 321

Justify text in github's readme

Is there any way to justify the text in the readme's file? I have tried with

<div dir="rtl">
    text...
</div>

and

<div dir="ltr">
    text...
</div>

and works, but the tag justify doesn't exist.. Other solution that I have checked is via this question

How to right-align and justify-align in Markdown?

<div style="text-align: justify">
    text
</div>

but neither works... Is there any way to perform it?

Upvotes: 2

Views: 5467

Answers (2)

Paloma Lataliza
Paloma Lataliza

Reputation: 26

I lined up some text today and what worked was this:

<div align="justify"> your text </div>

Upvotes: 1

Anmol Kumar
Anmol Kumar

Reputation: 51

you can use the following for such:

<p align="justify"> Your Text </p>

Upvotes: 5

Related Questions