insert and edit visible code samples