From inspecting the implementation it seems that the coc float parses out the float document content and parses out the differnt sections of valid markdown like headers, etc, including code blocks ...