finalize changes from markdown