parse content blocks