Is this rendering as you expected? Should it be in a .rst literal block?