Search code examples
pythonformattingjupyter-notebookitalic

Jupyter / IPython Notebook text editing as markdown


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!


Solution

  • 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.