Rewrite custom format example as dynamic example