-
-
Notifications
You must be signed in to change notification settings - Fork 964
Description
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 however code blocks are not trivial to higlight, and the implementation does not attempt to detect the type of langauge the code block is for and higlight it automatically.
I am slightly confused as to how do we use this to replicate the injection higlight that markdown can support with nvim for example since coc is completely parsing the markdown text on its own. At the moment a content that contains code blocks will just be using the Normal color, and if we want to add highlights which the Document type which the float renders has as a property we have to parse out the code block positions ourselves and add the highlighting.