make block formatting work across multiple blocks