The HTML code written in the markdown file is converted to a PDF file. Why did the style fail
tese.md
<center>title</center>
<p style="margin-top:100px;color:orange;">https://github.com/jgm/pandoc</p>
output.pdf

Did you use -t html5 option?
Paragraph styles and colors are not supported.
Pandoc tries to capture structural elements of the document, but generally does not translate all the stylistic information.
I've found a solution锛宼hat I need to install wkhtmltopdf and use option -t html5锛乼hank you all