1

Hi all I'm starting a new Python 3 document in Jupyter, and when I tried to put the test in the center in a markdown, I put: <h1><center> Whatever Report </center></h1> <center> Based on the data from *January 1, 2018* </center>

As you can see I tried to italicize the date, yet when I ran the command, Based on the data from *January 1, 2018*is printed as a result. Why aren't the texts being italicized?

Thanks much!

rhea.rao
  • 65
  • 7

3 Answers3

1

Not any kind of markdown expert, but it looks like the asterisks are not interpreted as italics when within an HTML tag. First one works, second does not.

<center>Based on the data from <i>January 1, 2018</i></center>
<center>Based on the data from *January 1, 2018*<center>

Not sure to format that output for SO. Ha.

Evan
  • 2,121
  • 14
  • 27
0

You need to put your markdown in markdown cells, not embedded in html. http://www.firstpythonnotebook.org/markdown/

kpie
  • 9,588
  • 5
  • 28
  • 50
0

Maybe it's very late, but you can try to use $\unicode{x212B}$ and it will render as the right format. The original solution can be found at https://github.com/mathjax/MathJax/issues/795.

Snoopy
  • 138
  • 6