This readme file is a reference resource for common markdown elements that could be integrated for files in Jupyter notebooks, Github repositories, and common LaTeX document structures.
Headers
A common structure to organize documents includes headers. Headers can range from 1 to 6 levels of sizing with hashtags.
Here is a link on the same page
Bold Elements
Using the **
syntax, you can format your text with the bold/strong emphasis element:
Here is bold text by using
**
before and after.
Italic Elements
Using the *
syntax, you can format your text with the italic emphasis element:
This line of text is italicized text by using
*
before and after the text.
Color for your text
Markdown does not support color. However, HTML does. Additionally, Github strips out certain HTML elements for security purposes, and therefore does not support color elements. For Jupyter Files, Markdown does support color when displayed in .ipynb files, and you can consider to add in color elements:
<span style="color:blue"> This text is blue, using HTML elements </span>
Code Blocks
You can establish a code block with the tilted apostrophe symbols, above the tab key on your keyboard:
Here is an example of a code block
Quote Blocks
You can indent your paragraphs or specific quotes using the >
operator:
This is an indented quote block for formatting text.
External URLs
You can set external URLs with the [Text to describe URL](URL website goes here)
Bullet Points
You can define a bullet point either with the - or the * symbols, spaced out from the text.
- This is the first bullet point in this sequence.
- Here is the second bullet point in the sequence.
As an alternative, you can create lists within lists, or nested bullet points.
- Here is our first bullet point in the second list.
- After typing 2 spaces before this second bullet point, we have created a nested list.
- This process can continue on several layers, if you so choose.
- After typing 2 spaces before this second bullet point, we have created a nested list.
Emojis (the new emoticon)
Emojis display emoticons (text-based images), in a graphical display, as found in messaging softwares both in Enterprise and consumer solutions.
Some examples follow:
:bar_chart:
📊
:thumbsup:
👍
:books:
📚
:smile:
😄
:sweat:
😓
:smiling_imp:
😈
You can view a comprehensive list on the emoji cheatsheet.
Column 1 | Column 2 | Column 3 |
---|---|---|
variable | definition | qualities |
Column | Type of Data | Examples of data |
---|---|---|
Gender | categorical | Male or Female |
Height | numerical | range of 5" to 6'5" |
BMI | ordinal | 20 to 35 |
Horizontal line above
If you would like to display code in markdown, start with the docstring characters of (triple titled '''python) or your preferred language.
In [1]: variable = 'Hello World'
In [2]: whos
Variable Type Data/Info
============================
my_num str 'Hello World'
These can be written as ∑ ∑
using XML and HTML elements.
License
To the extent possible under law, David Yakobovitch has licensed this work under Creative Commons, 4.0-NC-ND. This license is the most restrictive of Creative Commons six main licenses, only allowing others to download your works and share them with others as long as they credit the author, but they can’t change them in any way or use them commercially.