Fix code markup, reorder block and table info for clarity