code blocks: use textContent, enable gfm_code by default, add & enable trim_code