Skip to content

Latest commit

 

History

History
176 lines (143 loc) · 5.29 KB

02_markdown_reference.md

File metadata and controls

176 lines (143 loc) · 5.29 KB
Markdown Reference Guide

Headers
# Level 1 Header
## Level 2 Header
### Level 3 Header
#### Level 4 Header
##### Level 5 Header
###### Level 6 Header
In-line Linkage
<a href='#top_of_page' id='top_of_page' class='anchor' aria-hidden='true'>Top of Page</a>
[Top of page](#top_of_page)

[Relative link to a folder](../blob/master/LICENSE)
[Inline-style link with title](https://www.google.com "Google's Homepage")
Text formatting
*Italics* # Italic text
**Bold** # Bold text
_Bold-Italic_ # Bold and Italic text
~~Strikethrough~~ # Strikethrough text
\*literal asterisks\* # Show symbols
- [x] # Complete item in list
- [ ] # Incomplete item in list
$$ x + y $$ # Coverts into Latex equations
Code/Syntax Highlighting
`code` # Represents a code block
new_string = 'Hello World' # ```python for python block
In [1]: variable = 'Hello World'

In [2]: whos
Variable   Type    Data/Info
============================
my_num     str     'Hello World'

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)

Here is a URL that is hyperlinked


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.
      • Lists can use *, -, +, or 1., or 2)

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.


Tables or Data Dictionaries

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

Image going below

This is a panda

Here is a dropdown

Dropdown below 📊

Here is text

More text


Regular text Ending the dropdown

Support is included for special characters

These can be written as ∑ &#8721; using XML and HTML elements.

Resources:

Git Flavored Markdown

Licenses

License

CC-4.0-by-nc-nd

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.