Created
August 29, 2018 12:15
-
-
Save bhishanpdl/948b3a8527cb48fda86723c4fe337d0d to your computer and use it in GitHub Desktop.
[ipython_bold_and_blue] #ipython
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.display import Markdown, display | |
def printmd(string, color=None): | |
colorstr = "<span style='color:{}'>{}</span>".format(color, string) | |
display(Markdown(colorstr)) | |
printmd("**bold and blue**", color="blue") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment