add detail option and convert to <tt> and <br>