doc: adjust marker

Marker should be also adjusted when its heading is changed.