/test_md

markdown example

Markdown practice

Learn and practice markdown!

Header2

Header3

Header4

Header5
Header6

Blockquotes

One line blockquote

You are confined only by the walls you build yourself

Two lines blockquotes

If you don't know where you're going
Any road will get you there.

One often meets his destiny on the road he takes to avoid it. Kung Fu Panda

There is a saying: yesterday is history, tomorrow is a mystery, but today is a gift. 
That is why it is called the "present". 
								       
								       Kung Fu Panda
														

Lists

Unordered lists

  • Item1
  • Item2

Ordered lists

  1. Item1
  2. Item2

Nested lists

  1. Item1
    • item_1a
    • item_1b
  2. Item2
    • item_2a
    • item_2b

Styling text

This text is italic _italic_ or *italic*

This text is bold **bold**

These can be combined if needed

Code blocks

Code sample

C

factorial.c

/* factorial.c */
#include <stdio.h>

long int factorial(int n);

int main(void)
{	
    int x = 7;
    printf("%d factorial is %ld\n", x, factorial(x));
    return 0;
}

long int factorial(int n)
{
    if (n == 1)
        return 1;
    else
        return n * factorial(n-1);
}
gcc factorial.c -o factorial

Python

def fib(n):
	a, b = 0, 1
	while a < n:
		print(a, end=' ')
		a, b = b, a+b
	print()
fib(100)

Tables

Left aligned Center aligned Right aligned
cell1 cell5 cell9
cell2 cell6 cell10
cell3 cell7 cell11
cell4 cell8 cell12

Task Lists

  • list syntax required (any unordered or ordered list supported)
  • this is a complete item
  • this is an incomplete item
    • item

Links

Mastering markdown. [Mastering markdown](https://guides.github.com/features/mastering-markdown/)

This works as well: https://github.com/tu2

Emoji

Emoji cheat sheet.


👍 I'm having a lot of fun! ❤️ 🇬🇧 😄

Footnotes

A line with a footnote1 suppose to look like this [^1].

Another paragraph. 2

Footnotes

  1. Footnote reference [^1]:.

  2. Second footnote.