Add code preview