my assumtion (although possibly completely wrong) is that at some point the code cell from the notebook just gets turned into a markdown code block.
if that’s the case it should be easy enough to add a #language
option we could add at the top of the cell to created a fenced code block so you could add
#language-cpp
or #language-sql
which would turn into
``` cpp
int main(void){
}
```
in the markdown conversion. if you can get it to do that then you don’t need any other changes (although the dracular highlighting fast pages uses by default isn’t that pretty for c++)