CD IBM Data Science Experience Log In ‘Sign Up
MENU
Markdown for Jupyter notebooks
cheatsheet
(07 FEBRUARY 2017
Beautiful graphs in notebooks are great, but | want my explanatory text to look good too!
‘Somehow | can't remember all the Markdown lags, so | created this cheatsheet
Gayieerdora sete
Load the data
The cor data is @ freely aveilable date aet on the Osta Science Experience howe rome:
1, Go to the [Gar nacformunce date hetps:/([Link]/exchenge/public/entry/view/ctieSbendaFéS41622004cR6202052) card en the Date
Science Geperience home Fase
1. Click the Tink button
1, Mover above the ink button nact to the acceee hey to dSeplay
1 Goubleccitck the Link to select it, copy the line, and click Cle
4 Inthe cell telow, replace the *+LiM-TO-DATAY® sting in the read-cov() methed with the Tink
snk
Here's how to format Markdown cells in Jupyter notebooks in the IBM Data Science Experience.
Headings: Use #s followed by a blank space for notebook titles and section headings:
# tile
major headings
###t subheadings
‘titi 4th level subheadings
Emphasis
*string*
Use this code: Bold: __string__ or *#string** italic: _string_ or
Mathematical symbols: Use this code: $ mathematical symbols $
Monospace font: surround text with a back single quotation mark. () Use monospace for fle
path and fle names and for text users enter or message text users see.CD IBM Data Science E:
Log In Sign Up
Colors: Use this code:
Text N
markdown code works within a font tag, so review your colored text carefully!
Indenting: Use a greater than sign ( > ) and then a space, then type the text. Everything is.
indented ut
til the next carriage return,
Bullets: Use the dash sign ( - } with two spaces after it or a space, a dash, and a space ( - ), to
create a circular bullet. To create a sub bullet, use a tab followed a dash and two spaces. You can
also use an asterisk inst
vad of a dash, and it works the same.
Numbered lists:
tart with 1. followed by a space, then it starts numbering for you. Start each
line with some number and a period, then a space, Tab to indent to get subnumbering
Colored note boxes: Use one of these div tags. Not all markdown code works within a div
tag, so review your colored boxes careful
Tip: Use blue boxes for Tips and notes. If
t's a note, you don't have to include the word “Note”.
Example: Use yellow boxes for
examples that are not inside code cel
or use for mathematical formulas if needed.
Up to yo
: Use green boxes
sparingly, and only for some specific purpose that the other boxes can't cover. For example, if you
nave a lot of related content to link to, maybe you decide to use green boxes for related links from
each section of a notebook.
Just don't: In general, just avoid the
red boxes,
Graphics: You can use only graphics that are hosted on the web. You can't add captions for
graphies at this time. Use this code:

‘Alt text that describes the graphic" titl
Title
Geometric shapes: Use this code with a decimal or hex reference number from here: UTF-8
Geometric shapes
aitreference_number
Horizontal lines: Use three asterisks: *#*CD IBM Data Science Experience Log In ‘Sign Up
Make sure that the section_ID is unique within the notebook
Use this code for the link and make sure to test all the links! [section title] (#section_1D)
External links: Use this code and test alllinks! __[1ink text] ([Link]
Inge Halilovic Share this post
Content strategist for IBM Data Science Experience, ¥GoS
9 San Francisco, California
Subscribe to IBM Data Science Experience Blog
Get the latest posts delivered right to your inbox.
fYour email address Subscribe
or subscribe via RSS with Feedly!
READ THI NEXT YOUMIGET ENO
Connecting DSX - RStudio to on- Using GitHub for project control
prem DB2 for z/OS database in DSX
Tyas we might
fit ricelyCGD IBM Data Science Experience Log In Sign Up
IBM Data Science Experience Blog © 2017 Proudly published with Ghost