Handle JSON and MD contents + highlight code