How to make triangle shaped blocks?

Is there a way to transform lets say a wood block into a triangle shape? I have seen so many builds with it but I can’t figure out how to transform or craft these type of blocks.

You need to make a chisel and then use that to shape a block by hitting the corners of it