add code text in code index page
adds convenient demo button