MarkDown Example

Programming  

MarkDown

Sometimes you want numbered lists:

  1. One
  2. Two
  3. Three

Sometimes you want bullet points:

  • Start a line with a star
  • Profit!

Alternatively,

  • Dashes work just as well
  • And if you have sub points, put two spaces before the dash or star:
  • Like this
  • And this

Latex Example

$$ v=\left[ \begin{matrix} v_1\\ v_2 \end{matrix} \right] $$

$$ Ax = \left[ \begin{matrix} u & v & w\\ \end{matrix} \right] \left[ \begin{matrix} c\\ d\\ e\\ \end{matrix} \right] =cu+dv+ew $$

$$ \left[ \begin{matrix} v_1\\ v_2 \end{matrix} \right] \cdot \left[ \begin{matrix} w_1\\ w_2 \end{matrix} \right] = v_1w_1 + v_2w_2 $$

Code Highlight

Bubble Sort in Javascript

function bubbleSort(arr){
   var len = arr.length;
   for (var i = len-1; i>=0; i--){
     for(var j = 1; j<=i; j++){
       if(arr[j-1]>arr[j]){
           var temp = arr[j-1];
           arr[j-1] = arr[j];
           arr[j] = temp;
        }
     }
   }
   return arr;
}
bubbleSort([7,5,2,4,3,9]); //[2, 3, 4, 5, 7, 9]
bubbleSort([9,7,5,4,3,1]); //[1, 3, 4, 5, 7, 9]
bubbleSort([1,2,3,4,5,6]); //[1, 2, 3, 4, 5, 6]
Django

Generic placeholder
florent Sept. 11, 2021, 1:43 p.m.

bonjour 👍