A post with some code

Here is a custom block type with some code in it:

function factorial(n) {
  if (n === 0) {
    return 1;  // 0! = 1
    }
    return n * factorial(n - 1);
}

factorial(3); // returns 6