Closed darrikonn closed 4 years ago
Can't align headers to the center. This is possibly for paragraphs, using:
<p align="center">my text</p>
and this also works on Github when rendering markdowns. But this does not work in PyPI project description. I set:
PyPI
long_description_content_type='text/markdown'
in my setup.py.
setup.py
Header to be center aligned.
<h1 align="center">td-cli</h1>
<h1>td-cli</h1>
Tried adding inline style:
<h1 style="text-align: center;">td-cli</h1>
Tried wrapping header with <center>, both outside and inside:
<center>
<center><h1>td-cli</h1></center>
<h1><center>td-cli</center></h1>
Tried using other headers:
h2, h3, ...
What?
Can't align headers to the center. This is possibly for paragraphs, using:
and this also works on Github when rendering markdowns. But this does not work in
PyPI
project description. I set:in my
setup.py
.Expected outcome
Header to be center aligned.
Actual outcome
What I tried
Tried adding inline style:
Tried wrapping header with
<center>
, both outside and inside:Tried using other headers:
Screenshot