Only apply formatting changes to the newly inserted block (fixes #12)