List In Markdown Jupyter



Here's how to format Markdown cells in Jupyter notebooks: Headings Use the number sign (#) followed by a blank space for notebook titles and section headings: # for titles ## for major headings ### for subheadings #### for 4th level subheadings; Emphasis Use the following code to emphasize text.

Python Markdown¶. The Python Markdown extension allows displaying output produced by the current kernel in markdown cells. The extensions is basically agnostic to the kernel language, however most testing has been done using Python. The markdown cell in Jupyter Notebook can display six levels of heading. For making a heading, start the syntax with # followed by a space and then the text. This will make the heading of level 1 – The biggest. To decrease the size of the heading start incrementing the number of #. Jupyter Notebook - Markdown Cells - Markdown cell displays text which can be formatted using markdown language. In order to enter a text which should not be treated as code by Notebook server, it.

Summary¶

The Sane Lists extension alters the behavior of the Markdown List syntaxto be less surprising.

This extension is included in the standard Markdown library.

Syntax¶

Sane Lists do not allow the mixing of list types. In other words, an orderedlist will not continue when an unordered list item is encountered andvice versa. For example:

will result in the following output:

Whereas the default Markdown behavior would be to generate an unordered list.

Note that, unlike the default Markdown behavior, if a blank line is notincluded between list items, the different list type is ignored completely.This corresponds to the behavior of paragraphs. For example:

With this extension the above will result in the following output:

Sane lists also recognize the number used in ordered lists. Given the followinglist:

By default markdown will ignore the fact that the first line startedwith item number “4” and the HTML list will start with a number “1”.This extension will result in the following HTML output:

In all other ways, Sane Lists should behave as normal Markdown lists.

Usage¶

List In Markdown Jupiter Island

See Extensions for general extension usage. Use sane_lists as thename of the extension.

This extension does not accept any special configuration options.

Jupyter Notebook Markdown

A trivial example:

In this post, I am gonna show you how to write Mathematic symbols in markdown. since I am writing blog post that hosted by Github with Editor Atom, and use plugin markdown-preview-plus and mathjax-wrapper, and use mathjax Javascript display the math symbols on the web page.

I am not gonna to tell you how to make all these things work together, if you want to do what I am do, please take a little time and search around.

Most import, this post is showing you the basics about math symbols in Latex.

Jupyter Notebook Cheat Sheet

This what wikipedia said about Latex:

One of the greatest motivating forces for Donald Knuth when he began developing the original TeX system was to create something that allowed simple construction of mathematical formulas, while looking professional when printed.

Here are some symbols I typed during the learning.

Greek Letters

SymbolScript
$alpha$alpha
$A$A
$beta$beta
$B$B
$gamma$gammma
$Gamma$Gamma
$pi$pi
$Pi$Pi
$phi$phi
$Phi$Phi
$varphi$varphi
$theta$theta

Operators

SymbolScript
$cos$cos
$sin$sin
$lim$lim
$exp$exp
$to$to
$infty$infty
$equiv$equiv
$bmod$bmod
$times$times

Power and Indices

SymbolScript
$k_{n+1}$k_{n+1}
$n^2$n^2
$k_n^2$k_n^2

Fractions and Binomials

SymbolScript
$frac{n!}{k!(n-k)!}$frac{n!}{k!(n-k)!}
$binom{n}{k}$binom{n}{k}
$frac{frac{x}{1}}{x - y}$frac{frac{x}{1}}{x - y}
$^3/_7$^3/_7

Roots

SymbolScript
$sqrt{k}$sqrt{k}
$sqrt[n]{k}$sqrt[n]{k}

Sums and Integrals

SymbolScript
$sum_{i=1}^{10} t_i$sum_{i=1}^{10} t_i
$int_0^infty mathrm{e}^{-x},mathrm{d}x$int_0^infty mathrm{e}^{-x},mathrm{d}x
$sum$sum
$prod$prod
$coprod$coprod
$bigoplus$bigoplus
$bigotimes$bigotimes
$bigodot$bigodot
$bigcup$bigcup
$bigcap$bigcap
$biguplus$biguplus
$bigsqcup$bigsqcup
$bigvee$bigvee
$bigwedge$bigwedge
$int$int
$oint$oint
$iint$iint
$iiint$iiint
$idotsint$idotsint
$sum_{substack{0<i<m0<j<n}} P(i, j)$sum_{substack{0<i<m0<j<n}} P(i, j)
$intlimits_a^b$intlimits_a^b
SymbolScript
$a’$ $a^{prime}$a` a^{prime}
$a’’$a’’
$hat{a}$hat{a}
$bar{a}$bar{a}
$grave{a}$grave{a}
$acute{a}$acute{a}
$dot{a}dot{a}
$ddot{a}$ddot{a}
$not{a}$not{a}
$mathring{a}$mathring{a}
$overrightarrow{AB}$overrightarrow{AB}
$overleftarrow{AB}$overleftarrow{AB}
$a’’’$a’’’
$overline{aaa}$overline{aaa}
$check{a}$check{a}
$vec{a}$vec{a}
$underline{a}$underline{a}
$color{red}x$color{red}x
$pm$pm
$mp$mp
$int y mathrm{d}x$int y mathrm{d}x
$,$,
$:$:
$;$;
$!$!
$int y, mathrm{d}x$int y, mathrm{d}x
$dots$dots
$ldots$ldots
$cdots$cdots
$vdots$vdots
$ddots$ddots
List

Brackets etc

SymbolScript
$(a)$(a)
$[a]$[a]
${a}${a}
$langle f rangle$langle f rangle
$lfloor f rfloor$lfloor f rfloor
$lceil f rceil$lceil f rceil
$ulcorner f urcorner$ulcorner f urcorner

Reference

Atom - Atom editor for hackers

markdown-preview-plus - preview your markdown in atom

mathjax-wrapper - display math symbols in atom

Jupyter Markdown Cheatsheet

mathjax - Javascript lib for browsers

Latex - Latex Homepage

Wiki Latex Mathematics - introduction to math symbols in latex

List In Jupyter Notebook Markdown

Github tables - Github Flavored Markdown