Consent to the use of Personal Data and Cookies

This website needs your consent to use cookies in order to customize ads and content.

If you give us your consent, data may be shared with Google.

Quick reference for Github Markdown

Just a reference for essential Markdown codes to memorize for GitHub..

7 views
d

By. Jacob

Edited: 2022-06-09 20:00

Inline code:

The php `str_replace()` is used to replace a string in a string.

Code block:

This is a codebox example:
```
echo "hallo world";
sleep(10)
```

Headings:

# First level heading
## Second level heading
### Third level heading
#### Fourth. Etc

Ordered list:

1. First item.
2. Second item.
3. Third item.
4. Fourth item.

Unordered list:

- An item on a list.
- Another list item.
- This list item is random.
- The placement of this item is also not significant.

Bold text:

The quick **brown** fox jumps over the lazy dog.

Italic text:

The __quick__ brown fox jumps over the lazy dog.

Quoting text:

> Invest in seven ventures, yes, in eight; you do not know what disaster may come upon the land.

Inline links with text:

I recommend sharing the  
[Markdown quick reference](https://beamtic.com/github-markdown-codes) for GitHub.

Note. Valid URLs will automatically get turned into links.

Markdown mini-reference for Github

I seriously keep forgetting how to write Markdown on Github, especially how to insert code because I keep mixing up backtick ` with the acute accent sign ´ lol. Anyway, here is a reference to help myself and others remember.

At first markdown is really hard to remember, but pays in the longer run, as it converts easily to other formats.

Links

  1. Basic writing and formatting syntax - github.com

Tell us what you think:

    More in: GitHub