Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
264 views
in Technique[技术] by (71.8m points)

Centering Text in IPython notebook markdown/heading cells?

I want to customize my notebook, make it more readable and stylish. So for that, I want to start with centering my headers. Is it possible?

question from:https://stackoverflow.com/questions/18575012/centering-text-in-ipython-notebook-markdown-heading-cells

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can actually use the markdown mode for the cell and use the normal HTML code, as in

<h1><center>Centered text!</center></h1>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...