Add code tags processing and corresponding tests