Markdown Essentials¶
GitHub Flavored Markdown Guide
Basics¶
A paragraph is one or more consecutive lines of text separated by one or more blank lines. A blank line contains nothing but spaces or tabs.
Do not indent normal paragraphs with spaces or tabs. Indent at least 4 spaces or a tab for code blocks.
Syntax highlighted code block
# Header 1
## Header 2
### Header 3
- Bulleted
- List
1. Numbered
2. List
**Bold** and _Italic_ and `Code` text
[Link](url) and ![Image](src)
Emphasis¶
Emphasis can be used in the mi\*dd\*le of a word
.
Headers¶
Links and Images¶
[Text for the link](URL)
This is [an example][id] reference-style link.
[id]: https://example.com/ "Optional Title Here"
![Alt text](/path/to/img.jpg "Optional title")
Code¶
span of code
will be displayed as
Blockquotes¶
GitHub Pages¶
GitHub Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml
configuration file.
Bitbucket¶
Bitbucket doesn't support arbitrary HTML in Markdown, it instead uses safe mode. Safe mode requires that you replace, remove, or escape HTML tags appropriately.
Code highlighting to bitbucket README.md written in Python Markdown
:::python friends = ['john', 'pat', 'gary', 'michael'] for i, name in enumerate(friends): print "iteration {iteration} is {name}".format(iteration=i, name=name)