extract location
split location and extract lines
highlight using either cardinal or pygments