Convert `tick`s to <code> in index.