Render code in index